public static final char CR = '\r';
public static final char LF = '\n';
private static final char ZERO = '0';
private MultiBulkReply reply;
public ChannelBuffer readBytes(ChannelBuffer is) throws IOException {
<BUG>int size = readInteger(is);
</BUG>
if (size == -1) {
return null;
<BUG>}
ChannelBuffer buffer = is.readSlice(size);
</BUG>
int cr = is.readByte();

public static final char CR = '\r';
public static final char LF = '\n';
private static final char ZERO = '0';
private MultiBulkReply reply;
public ChannelBuffer readBytes(ChannelBuffer is) throws IOException {
long size = readLong(is);
if (size == -1) {
return null;
}
if (size > Integer.MAX_VALUE) {
throw new IOException("Value too large");
}
ChannelBuffer buffer = is.readSlice((int) size);
int cr = is.readByte();
