public void send(OtpErlangPid from, OtpErlangPid dest, OtpErlangObject msg) { // encode and send the message sendBuf(from, dest, new OtpOutputStream(msg)); }