Пример #1
0
        /// <summary>
        ///  Reads a 4-byte signed integer from the current stream and advances the current
        ///  position of the stream by four bytes.
        /// </summary>
        /// <returns>A 4-byte signed integer read from the current stream.</returns>
        public int ReadInt32()
        {
            Debug.Assert(_buffer != null);
            var valRead = _buffer.GetInt(_offset);

            _offset += WoffBuffer.SizeOfInt;

            return(valRead);
        }