예제 #1
0
파일: Boolean.cs 프로젝트: tonyrog/jungerl
 /*
  * Create a boolean from a stream containing an atom encoded in
  * Erlang external format. The value of the boolean will be true if
  * the atom represented by the stream is "true" without regard to
  * case. For other atom values, the boolean will have the value
  * false.
  *
  * @exception DecodeException if the buffer does not
  * contain a valid external representation of an Erlang atom.
  **/
 public Boolean(OtpInputStream buf)
 {
     this.value = buf.read_boolean();
 }
예제 #2
0
파일: Boolean.cs 프로젝트: saleyn/otp.net
		/*
		* Create a boolean from a stream containing an atom encoded in
		* Erlang external format. The value of the boolean will be true if
		* the atom represented by the stream is "true" without regard to
		* case. For other atom values, the boolean will have the value
		* false.
		* 
		* @exception DecodeException if the buffer does not
		* contain a valid external representation of an Erlang atom.
		**/
		public Boolean(OtpInputStream buf)
		{
			this.value = buf.read_boolean();
		}