Beispiel #1
0
 public void Delete(Slice key)
 {
     Native.leveldb_writebatch_delete(handle, key.buffer, (UIntPtr)key.buffer.Length);
 }
Beispiel #2
0
 public void Put(Slice key, Slice value)
 {
     Native.leveldb_writebatch_put(handle, key.buffer, (UIntPtr)key.buffer.Length, value.buffer, (UIntPtr)value.buffer.Length);
 }
Beispiel #3
0
 public void Clear()
 {
     Native.leveldb_writebatch_clear(handle);
 }