private void WriteLong(IRawFile txFile, long value, ref long offset) { for (int i = LONG_ASCII_LEN - 1; i >= 0; i--) { var write = (byte)(ASCII_ZERO + value % 10); txFile.WriteByte(offset + i, write); value /= 10; } }
public void SetByte(long rowID, byte value) { var offset = rowID * _sizeBytes; _storage.WriteByte(offset, value); }
private void WriteByte(byte value, ref long offset) { _data.WriteByte(offset, value); offset += 1; }