byte ReadByteFromFile(long fileOffset) { // Move to the correct position and read the byte. if (_stream.Position != fileOffset) { _stream.Position = fileOffset; } return (byte)_stream.ReadByte(); }