コード例 #1
0
        public UInt16 ReadUInt16()
        {
            uint retval = NetBitWriter.ReadUInt16(m_data, 16, m_readPosition);

            m_readPosition += 16;
            return((ushort)retval);
        }
コード例 #2
0
        //
        // 16 bit
        //
        /// <summary>
        /// Reads an Int16 without advancing the read pointer
        /// </summary>
        public Int16 PeekInt16()
        {
            uint retval = NetBitWriter.ReadUInt16(m_data, 16, m_readPosition);

            return((short)retval);
        }