/**
  * Convert this ref to the equivalent Erlang external representation.
  */
 public void Encode(OtpOutputStream buf) => buf.WriteRef(this);