Ejemplo n.º 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();
 }
Ejemplo n.º 2
0
Archivo: Atom.cs Proyecto: e42s/jungerl
 /*
 * 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();
 }