示例#1
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 DecodeException if the buffer does not
  * contain a valid external representation of an Erlang string.
  **/
 public String(OtpInputStream buf)
 {
     str = buf.read_string();
 }
示例#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 DecodeException if the buffer does not
 * contain a valid external representation of an Erlang string.
 **/
 public String(OtpInputStream buf)
 {
     str = buf.read_string();
 }