public void write(int b) throws IOException { int newPos = pos + 1; checkCapacity(newPos); buffer[pos] = (byte) b; pos = newPos; }
public void write(int b) throws IOException { int newPos = pos + 1; checkCapacity(newPos); buffer[pos] = (byte) b; pos = newPos; }
public void write(int b) throws IOException { int newPos = pos + 1; checkCapacity(newPos); buffer[pos] = (byte) b; pos = newPos; }
public void write(byte b[], int off, int len) throws IOException { int newPos = pos + len; checkCapacity(newPos); System.arraycopy(b, off, buffer, pos, len); pos = newPos; }
public void write(byte b[], int off, int len) throws IOException { int newPos = pos + len; checkCapacity(newPos); System.arraycopy(b, off, buffer, pos, len); pos = newPos; }
public void write(byte b[], int off, int len) throws IOException { int newPos = pos + len; checkCapacity(newPos); System.arraycopy(b, off, buffer, pos, len); pos = newPos; }
public Buffer getNextBuffer(int len) throws IOException { int newPos = pos + len; checkCapacity(newPos); return new Buffer(buffer, pos, len); }
public Buffer getNextBuffer(int len) throws IOException { int newPos = pos + len; checkCapacity(newPos); return new Buffer(buffer, pos, len); }
public Buffer getNextBuffer(int len) throws IOException { int newPos = pos + len; checkCapacity(newPos); return new Buffer(buffer, pos, len); }