code: public void writeExternal(ObjectOutput out) throws IOException
     {
        // skip writing hasNext field
        out.writeObject(payload);
        byte[] binValue = value.getBytes(Constants.DEFAULT_ENCODING);
        out.writeInt(binValue.length);
        out.write(binValue);
     }
docs: {@inheritDoc}