@Override public void readFully(byte[] b, int off, int len) throws IOException { checkAvailable(len); buffer.readBytes(b, off, len); }
@Override public int readInt() throws IOException { checkAvailable(4); return buffer.readInt(); }
@Override public long readLong() throws IOException { checkAvailable(8); return buffer.readLong(); }
@Override public void readFully(byte[] b, int off, int len) throws IOException { checkAvailable(len); buffer.readBytes(b, off, len); }
@Override public long readLong() throws IOException { checkAvailable(8); return buffer.readLong(); }
@Override public int readInt() throws IOException { checkAvailable(4); return buffer.readInt(); }
@Override public long readLong() throws IOException { checkAvailable(8); return buffer.readLong(); }
@Override public void readFully(byte[] b, int off, int len) throws IOException { checkAvailable(len); buffer.readBytes(b, off, len); }
@Override public int readInt() throws IOException { checkAvailable(4); return buffer.readInt(); }
@Override public short readShort() throws IOException { checkAvailable(2); return buffer.readShort(); }
@Override public boolean readBoolean() throws IOException { checkAvailable(1); return read() != 0; }
@Override public boolean readBoolean() throws IOException { checkAvailable(1); return read() != 0; }
@Override public short readShort() throws IOException { checkAvailable(2); return buffer.readShort(); }
@Override public boolean readBoolean() throws IOException { checkAvailable(1); return read() != 0; }
@Override public short readShort() throws IOException { checkAvailable(2); return buffer.readShort(); }
@Override public void readFully(byte[] b, int off, int len) throws IOException { checkAvailable(len); buffer.readBytes(b, off, len); }
@Override public long readLong() throws IOException { checkAvailable(8); return buffer.readLong(); }
@Override public int readInt() throws IOException { checkAvailable(4); return buffer.readInt(); }
@Override public boolean readBoolean() throws IOException { checkAvailable(1); return read() != 0; }
@Override public short readShort() throws IOException { checkAvailable(2); return buffer.readShort(); }