Lidgren.Network.NetIncomingMessage.PeekUInt64 C# (CSharp) 메소드

PeekUInt64() 공개 메소드

Reads a UInt64 without advancing the read pointer
public PeekUInt64 ( ) : System.UInt64
리턴 System.UInt64
        public UInt64 PeekUInt64()
        {
            NetException.Assert(m_bitLength - m_readPosition >= 64, c_readOverflowError);

            ulong low = NetBitWriter.ReadUInt32(m_data, 32, m_readPosition);
            ulong high = NetBitWriter.ReadUInt32(m_data, 32, m_readPosition + 32);

            ulong retval = low + (high << 32);

            return retval;
        }

Same methods

NetIncomingMessage::PeekUInt64 ( int numberOfBits ) : System.UInt64