code: public void writeExternal(ObjectOutput out) throws IOException
     {
        out.writeInt(orderNumber);
        out.writeInt(value.length);
  
        if (value.length > 0)
        {
           out.write(value);
        }
     }
docs: {@inheritDoc}