/* * 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(); }