code: public void writeTo(final PacketOutputStream pos) throws IOException {
      if (loadedStream == null) {
        writeObjectToBytes();
      }
      pos.write(BINARY_INTRODUCER);
      pos.writeBytesEscaped(loadedStream, loadedStream.length, noBackSlashEscapes);
      pos.write(QUOTE);
  
    }
docs: Write object to buffer for text protocol.
  
  @param pos the stream to write to
  @throws IOException if error reading stream