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

ReadBytes() public method

public ReadBytes ( byte value ) : int
value byte
return int
        public int ReadBytes( byte[] value )
        {
            InitializeReading();
            try
            {
                return dataIn.Read( value, 0, value.Length );
            }
            catch(EndOfStreamException e)
            {
                throw NMSExceptionSupport.CreateMessageEOFException(e);
            }
            catch(IOException e)
            {
                throw NMSExceptionSupport.CreateMessageFormatException(e);
            }
        }

Same methods

BytesMessage::ReadBytes ( byte value, int length ) : int