Apache.NMS.Commands.BytesMessage.ReadSingle C# (CSharp) Method

ReadSingle() public method

public ReadSingle ( ) : float
return float
        public float ReadSingle()
        {
            InitializeReading();
            try
            {
                return dataIn.ReadSingle();
            }
            catch(EndOfStreamException e)
            {
                throw NMSExceptionSupport.CreateMessageEOFException(e);
            }
            catch(IOException e)
            {
                throw NMSExceptionSupport.CreateMessageFormatException(e);
            }
        }