/// <summary> /// If the database contains a mapping for "key", erase it. /// Else do nothing. /// </summary> public WriteBatch Delete(Byte[] key) { LevelDBInterop.leveldb_writebatch_delete(this.Handle, key, (IntPtr)key.Length); return(this); }
public void Delete(Slice key) { LevelDBInterop.leveldb_writebatch_delete(Handle, key.buffer, (IntPtr)key.buffer.Length); }