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

ReadByte() public method

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