public read_port ( ) : Erlang.NET.OtpErlangPort | ||
return | Erlang.NET.OtpErlangPort |
/** * Create an Erlang port from a stream containing a port encoded in Erlang * external format. * * @param buf * the stream containing the encoded port. * * @exception OtpErlangDecodeException * if the buffer does not contain a valid external * representation of an Erlang port. */ public OtpErlangPort(OtpInputStream buf) { OtpErlangPort p = buf.read_port(); node = p.Node; id = p.Id; creation = p.Creation; }
/** * Create an Erlang port from a stream containing a port encoded in Erlang * external format. * * @param buf * the stream containing the encoded port. * * @exception OtpErlangDecodeException * if the buffer does not contain a valid external * representation of an Erlang port. */ public OtpErlangPort(OtpInputStream buf) { OtpErlangPort p = buf.read_port(); node = p.Node; id = p.Id; creation = p.Creation; }