/* * Create an Erlang integer from a stream containing an integer * encoded in Erlang external format. * * @param buf the stream containing the encoded value. * * @exception DecodeException if the buffer does not * contain a valid external representation of an Erlang integer. **/ public Long(OtpInputStream buf) { val = buf.read_long(); }