Beispiel #1
0
        /*
         * Create an Erlang float from a stream containing a double 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 float.
         **/
        public Double(OtpInputStream buf)
        {
            this.d = buf.read_double();

            //System.Diagnostics.Debug.WriteLine("Double: " + this.d );
        }
Beispiel #2
0
		/*
		* Create an Erlang float from a stream containing a double 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 float.
		**/
		public Double(OtpInputStream buf)
		{
            this.d = buf.read_double();
            
            //System.Diagnostics.Debug.WriteLine("Double: " + this.d );
		}