示例#1
0
 /*
  * 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();
 }
示例#2
0
文件: Long.cs 项目: e42s/jungerl
 /*
 * 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();
 }