Be.Windows.Forms.FileByteProvider.ReadByte C# (CSharp) Метод

ReadByte() публичный Метод

Reads a byte from the file.
public ReadByte ( long index ) : byte
index long the index of the byte to read
Результат byte
        public byte ReadByte(long index)
        {
            if(_writes.Contains(index))
                return _writes[index];

            if(_fileStream.Position != index)
                _fileStream.Position = index;

            byte res = (byte)_fileStream.ReadByte();
            return res;
        }