/** * Convert this port to the equivalent Erlang external representation. * * @param buf * an output stream to which the encoded port should be * written. */ public override void encode(OtpOutputStream buf) { buf.write_port(node, id, creation); }