예제 #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();
 }