code: @Override
      public void write(final OutputStream out, final Buffer payload) throws IOException {
          this.getParentPacket().write(out, Buffers.wrap(this.msg.toBuffer(), payload));
      }
docs: /*
  (non-Javadoc)
  
  @see io.pkts.packet.Packet#write(java.io.OutputStream)