throws IOException {
PrintStream ps = out instanceof PrintStream ? (PrintStream)out : null;
byte buf[] = new byte[buffSize];
Checksum sum = new NativeCrc32();
sum.reset();
try {
if (throttler != null) {
throttler.throttle((long) buffSize);
}
int bytesRead = in.read(buf);