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