Example #1
0
 public void Delete(Slice key)
 {
     Native.leveldb_writebatch_delete(handle, key.buffer, (UIntPtr)key.buffer.Length);
 }
Example #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);
 }
Example #3
0
 public void Clear()
 {
     Native.leveldb_writebatch_clear(handle);
 }