public void write(int b) { assert (hasCapacity(1)); buffer.data[buffer.offset++] = (byte) b; buffer.length--; }
public void write(int b) { assert (hasCapacity(1)); buffer.data[buffer.offset++] = (byte) b; buffer.length--; }
public void write(int b) { assert (hasCapacity(1)); buffer.data[buffer.offset++] = (byte) b; buffer.length--; }
public void write(byte[] b, int off, int len) { assert (hasCapacity(len)); System.arraycopy(b, off, buffer.data, buffer.offset, len); buffer.offset += len; buffer.length -= len; }
public void readFully(byte[] b, int off, int len) { assert (hasCapacity(len)); System.arraycopy(buffer.data, buffer.offset, b, off, len); buffer.offset += len; buffer.length -= len; }
public void readFully(byte[] b, int off, int len) { assert (hasCapacity(len)); System.arraycopy(buffer.data, buffer.offset, b, off, len); buffer.offset += len; buffer.length -= len; }
public void write(byte[] b, int off, int len) { assert (hasCapacity(len)); System.arraycopy(b, off, buffer.data, buffer.offset, len); buffer.offset += len; buffer.length -= len; }
public void readFully(byte[] b, int off, int len) { assert (hasCapacity(len)); System.arraycopy(buffer.data, buffer.offset, b, off, len); buffer.offset += len; buffer.length -= len; }
public void write(byte[] b, int off, int len) { assert (hasCapacity(len)); System.arraycopy(b, off, buffer.data, buffer.offset, len); buffer.offset += len; buffer.length -= len; }
public byte readByte() { assert (hasCapacity(1)); return (byte) read(); }
public int readUnsignedByte() { assert (hasCapacity(1)); return read(); }
public byte readByte() { assert (hasCapacity(1)); return (byte) read(); }
public int readUnsignedByte() { assert (hasCapacity(1)); return read(); }
public void writeBoolean(boolean v) { assert (hasCapacity(1)); write(v ? 1 : 0); }
public void writeBoolean(boolean v) { assert (hasCapacity(1)); write(v ? 1 : 0); }
public void writeByte(int v) { assert (hasCapacity(1)); write(v); }
public boolean readBoolean() { assert (hasCapacity(1)); return read() != 0; }
public boolean readBoolean() { assert (hasCapacity(1)); return read() != 0; }
public void writeBoolean(boolean v) { assert (hasCapacity(1)); write(v ? 1 : 0); }
public boolean readBoolean() { assert (hasCapacity(1)); return read() != 0; }