/** * Create an Erlang ref from a stream containing a ref encoded in Erlang * external format. * * @param buf * the stream containing the encoded ref. * * @exception OtpErlangDecodeException * if the buffer does not contain a valid external * representation of an Erlang ref. */ public OtpErlangRef(OtpInputStream buf) { OtpErlangRef r = buf.read_ref(); node = r.Node; creation = r.Creation; ids = r.Ids; }