Beispiel #1
0
 /*
  * Create an atom from a stream containing an atom encoded in Erlang
  * external format.
  *
  * @param buf the stream containing the encoded atom.
  *
  * @exception DecodeException if the buffer does not
  * contain a valid external representation of an Erlang atom.
  **/
 public Atom(OtpInputStream buf)
 {
     this.atom = buf.read_atom();
 }
Beispiel #2
0
 /*
 * Create an atom from a stream containing an atom encoded in Erlang
 * external format.
 *
 * @param buf the stream containing the encoded atom.
 *
 * @exception DecodeException if the buffer does not
 * contain a valid external representation of an Erlang atom.
 **/
 public Atom(OtpInputStream buf)
 {
     this.atom = buf.read_atom();
 }