public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
   {
      payload = (Payload)in.readObject();
      int length = in.readInt();
      byte[] binValue = new byte[length];
      in.read(binValue);
      value = new String(binValue, Constants.DEFAULT_ENCODING);
   }
public void readExternal ( ObjectInput in ) throws IOException , ClassNotFoundException { payload = ( Payload ) in . readObject ( ) ; int length = in . readInt ( ) ; byte [ ] binValue = new byte [ length ] ; in . read ( binValue ) ; value = new String ( binValue , Constants . DEFAULT_ENCODING ) ; }
{@inheritDoc}