Пример #1
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);
 }
Пример #2
0
 public void Delete(Slice key)
 {
     Native.leveldb_writebatch_delete(handle, key.buffer, (UIntPtr)key.buffer.Length);
 }