예제 #1
0
 /*
  * Create a binary from a stream containinf a binary encoded in
  * Erlang external format.
  *
  * @param buf the stream containing the encoded binary.
  *
  * @exception DecodeException if the buffer does not
  * contain a valid external representation of an Erlang binary.
  **/
 public Binary(OtpInputStream buf)
 {
     this.bin = buf.read_binary();
 }
예제 #2
0
파일: Binary.cs 프로젝트: e42s/jungerl
 /*
 * Create a binary from a stream containinf a binary encoded in
 * Erlang external format.
 *
 * @param buf the stream containing the encoded binary.
 *
 * @exception DecodeException if the buffer does not
 * contain a valid external representation of an Erlang binary.
 **/
 public Binary(OtpInputStream buf)
 {
     this.bin = buf.read_binary();
 }