/** * Create an Erlang string from a stream containing a string encoded in * Erlang external format. * * @param buf * the stream containing the encoded string. * * @exception OtpErlangDecodeException * if the buffer does not contain a valid external * representation of an Erlang string. */ public OtpErlangString(OtpInputStream buf) { str = buf.read_string(); }