Exemple #1
0
        /// <summary>
        /// Reads a ulong from the stream, and advances the index accordingly.
        /// </summary>
        /// <returns>the next 8 bytes from the stream cast as a ulong</returns>
        public ulong ReadULong()
        {
            byte[] temp = new byte[LONGLENGTH];
            _stream.Read(temp, 0, LONGLENGTH);

            return(ByteConversion.ToULong(temp, 0));
        }