leveldb_delete() private method

private leveldb_delete ( IntPtr db, IntPtr options, byte key, IntPtr keylen, IntPtr &errptr ) : void
db System.IntPtr
options System.IntPtr
key byte
keylen System.IntPtr
errptr System.IntPtr
return void
Exemplo n.º 1
0
        /// <summary>
        /// Remove the database entry (if any) for "key".
        /// It is not an error if "key" did not exist in the database.
        /// Note: consider setting new WriteOptions{ Sync = true }.
        /// </summary>
        public void Delete(byte[] key, WriteOptions options)
        {
            IntPtr error;

            LevelDbInterop.leveldb_delete(Handle, options.Handle, key, (IntPtr)key.LongLength, out error);
            Throw(error);
        }