code: public OtpInputStream receiveBuf(final long timeout)
              throws InterruptedException, IOException, OtpErlangExit,
              OtpAuthException {
          return receiveMsg(timeout).getMsgBuf();
      }
docs: Receive a raw (still encoded) message from a remote process. This message
  blocks at most for the specified time until a valid message is received
  or an exception is raised.
  
  <p>
  If the remote node sends a message that cannot be decoded properly, the
  connection is closed and the method throws an exception.
  
  @param timeout
  the time in milliseconds that this operation will block.
  Specify 0 to poll the queue.
  
  @return an object containing a raw (still encoded) Erlang term.
  
  @exception java.io.IOException
  if the connection is not active or a communication error
  occurs.
  
  @exception OtpErlangExit
  if an exit signal is received from a process on the peer
  node, or if the connection is lost for any reason.
  
  @exception OtpAuthException
  if the remote node sends a message containing an invalid
  cookie.
  
  @exception InterruptedException
  if no message if the method times out before a message
  becomes available.