code: public void write(byte myByte) throws IOException {
          onNewLine = false;
          buffer.put(myByte);
          if (!buffer.hasRemaining()) {
              flush();
          }
      }
docs: Writes the single byte to the destination
  
  @param myByte
  @throws IOException