/** * Create an atom from a stream containing an atom encoded in Erlang * external format. * * @param buf * the stream containing the encoded atom. * * @exception OtpErlangDecodeException * if the buffer does not contain a valid external * representation of an Erlang atom. */ public OtpErlangAtom(OtpInputStream buf) { atom = buf.read_atom(); }