out.writeBoolean(bodyReadOnly);
   public void writeExternal(ObjectOutput out) throws IOException   {      super.writeExternal(out);      out.writeBoolean(isByteArray);      if (objectBytes == null)      {         out.writeInt(-1);      }      else      {         out.writeInt(objectBytes.length);         out.write(objectBytes);      }   }