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;
}