code: public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
     {
        orderNumber = in.readInt();
  
        String identity = null;
        String permission = null;
  
        byte[] data = new byte[in.readInt()];
        if (data.length > 0)
        {
           in.readFully(data);
           identity = new String(data, Constants.DEFAULT_ENCODING);
        }
  
        data = new byte[in.readInt()];
        if (data.length > 0)
        {
           in.readFully(data);
           permission = new String(data, Constants.DEFAULT_ENCODING);
        }
  
        value = new AccessControlEntry(identity, permission);
     }
docs: {@inheritDoc}