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