Ejemplo n.º 1
0
        //
        // 16 bit
        //
        /// <summary>
        /// Reads an Int16 without advancing the read pointer
        /// </summary>
        public Int16 PeekInt16()
        {
            ReadOverflowException.Assert(_lengthBits - _readPosition >= 16);
            uint retval = BitReaderWriter.ReadUInt16(_data, 16, _readPosition);

            return((short)retval);
        }