if (cr != CR || lf != LF) {
throw new IOException("Improper line ending: " + cr + ", " + lf);
}
return buffer;
}
<BUG>public static int readInteger(ChannelBuffer is) throws IOException {

int size = 0;
</BUG>
int sign = 1;

if (cr != CR || lf != LF) {
throw new IOException("Improper line ending: " + cr + ", " + lf);
}
return buffer;
}
public static long readLong(ChannelBuffer is) throws IOException {
long size = 0;
int sign = 1;
