/**
         * Create an Erlang PID from a stream containing a PID encoded in Erlang
         * external format.
         */
        public OtpErlangPid(OtpInputStream buf)
        {
            OtpErlangPid p = buf.ReadPid();

            Node     = p.Node;
            Id       = p.Id;
            Serial   = p.Serial;
            Creation = p.Creation;
        }