code: public void write(ByteBuffer buffer) throws IOException {
  		synchronized (buffers) {
  			if (writing == null) {
  				writing = io.writeAsync(buffer);
  				writing.listenInline(listener);
  				return;
  			}
  			if (writing.hasError()) throw writing.getError();
  			buffers.add(buffer);
  		}
  	}
docs: Write the given buffer.