Пример #1
0
        /// <summary>
        ///  Reads a unsigned byte from this stream and advances the current position of the
        ///  stream by one byte.
        /// </summary>
        /// <returns>A unsigned byte read from the current stream.</returns>
        public byte ReadByte()
        {
            Debug.Assert(_buffer != null);
            var valRead = _buffer.GetByte(_offset);

            _offset += WoffBuffer.SizeOfByte;

            return(valRead);
        }