Remove bulk reading, because for an unexplainable reason it can cause garbled data. (reverse-merged from commit ed667e2b72)

This commit is contained in:
md_5 2013-02-01 21:14:40 +11:00
parent b923ea847b
commit 7538ff46ed

View File

@ -63,13 +63,5 @@ public class PacketInputStream implements AutoCloseable
out.write(ret);
return ret;
}
@Override
public int read(byte[] b, int off, int len) throws IOException
{
int ret = wrapped.read(b, off, len);
out.write(b, off, ret);
return ret;
}
}
}