code: public void serialize(final DataOutput pOutput) throws TTIOException {
          try {
              pOutput.writeInt(getRawValue().length);
              pOutput.write(getRawValue());
          } catch (final IOException exc) {
              throw new TTIOException(exc);
          }
      }
docs: Serializing to given dataput
  
  @param pOutput
  to serialize to
  @throws TTIOException