read_string() public method

public read_string ( ) : String
return 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 OtpErlangDecodeException
  *                if the buffer does not contain a valid external
  *                representation of an Erlang string.
  */
 public OtpErlangString(OtpInputStream buf)
 {
     str = buf.read_string();
 }
Beispiel #2
0
 /**
  * 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();
 }