public void Delete(WriteOptions options, byte[] key) { Native.leveldb_delete(handle, options.handle, key, (UIntPtr)key.Length, out IntPtr error); NativeHelper.CheckError(error); }
public void Put(WriteOptions options, byte[] key, byte[] value) { Native.leveldb_put(handle, options.handle, key, (UIntPtr)key.Length, value, (UIntPtr)value.Length, out IntPtr error); NativeHelper.CheckError(error); }
public void Write(WriteOptions options, WriteBatch write_batch) { Native.leveldb_write(handle, options.handle, write_batch.handle, out IntPtr error); NativeHelper.CheckError(error); }