code: @Override
  	public void write(int b) throws IOException {
  		if (this.position >= this.buffer.length) {
  			resize(1);
  		}
  		this.buffer[this.position++] = (byte) (b & 0xff);
  	}
docs: ----------------------------------------------------------------------------------------