public static Serializable read(InputStream output)
public static Serializable read(InputStream input)
  public static Serializable read(InputStream output)  {    // Explicitly prevent the stream from closing as we may need    // to read the subsequent bytes as well. Stream may be auto-closed    // in its finalizer.    try      {        ObjectInputStream oin = new uncObjectInputStream(output);        return (Serializable) oin.readObject();      }    catch (Exception ex)      {        throw new MARSHAL(ex + ":" + ex.getMessage());      }  }