Пример #1
0
 public void Write(LevelDBWriteBatch writeBatch, bool sync = false)
 {
     Write(writeBatch, sync ? LevelDBWriteOptions.DefaultSync : LevelDBWriteOptions.Default);
 }
Пример #2
0
 public void Write(LevelDBWriteBatch writeBatch, LevelDBWriteOptions options)
 {
     Native.write(nativePointer, options.nativePointer, writeBatch.nativePointer, out IntPtr err);
     err.FreeTryThrow();
 }
Пример #3
0
 public void Append(LevelDBWriteBatch other)
 {
     Native.writebatch_append(nativePointer, other.nativePointer);
 }