protected long readVarInt() throws ProtocolException { return readVarInt(0); }
protected long readVarInt() throws ProtocolException { return readVarInt(0); }
protected long readVarInt() throws ProtocolException { return readVarInt(0); }
protected long readVarInt() throws ProtocolException { return readVarInt(0); }
protected byte[] readByteArray() throws ProtocolException { long len = readVarInt(); return readBytes((int)len); }
protected byte[] readByteArray() throws ProtocolException { long len = readVarInt(); return readBytes((int)len); }
protected byte[] readByteArray() throws ProtocolException { long len = readVarInt(); return readBytes((int)len); }
protected byte[] readByteArray() throws ProtocolException { long len = readVarInt(); return readBytes((int)len); }
protected String readStr() throws ProtocolException { long length = readVarInt(); return length == 0 ? "" : Utils.toString(readBytes((int) length), "UTF-8"); // optimization for empty strings }
protected String readStr() throws ProtocolException { long length = readVarInt(); return length == 0 ? "" : Utils.toString(readBytes((int) length), "UTF-8"); // optimization for empty strings }
protected String readStr() throws ProtocolException { long length = readVarInt(); return length == 0 ? "" : Utils.toString(readBytes((int) length), "UTF-8"); // optimization for empty strings }
protected String readStr() throws ProtocolException { long length = readVarInt(); return length == 0 ? "" : Utils.toString(readBytes((int) length), "UTF-8"); // optimization for empty strings }