Пример #1
0
        public void IntFromDataReader()
        {
            using var stream = File.Open(Dummy, FileMode.Open);
            var dr = new MyBufferedStream(stream);

            for (var i = 0; i < _rndOffset.Length - 1; i++)
            {
                var integer = dr.ReadUInt(_rndOffset[i]);
                var x       = integer;
            }
        }
Пример #2
0
        public void ByteFromDataReader()
        {
            using var stream = File.Open(Dummy, FileMode.Open);
            var dr = new MyBufferedStream(stream);

            for (var i = 0; i < _rndOffset.Length - 1; i++)
            {
                var b = dr.ReadByte(_rndOffset[i]);
                var x = b;
            }
        }