/// <summary> /// store multiple contiguous data elements in a single request. /// May only be used with MDB_DUPFIXED. /// </summary> /// <param name="data">This span must be pinned or stackalloc memory</param> public static MDBResultCode mdb_cursor_put(IntPtr cursor, ref MDBValue key, ref Span <MDBValue> data, CursorPutOptions flags) { ref var dataRef = ref MemoryMarshal.GetReference(data);
public static MDBResultCode mdb_del(IntPtr txn, uint dbi, MDBValue key) { return(mdb_del(txn, dbi, ref key, IntPtr.Zero)); }
public static MDBResultCode mdb_cursor_put(IntPtr cursor, MDBValue key, MDBValue value, CursorPutOptions flags) { return(mdb_cursor_put(cursor, ref key, ref value, flags)); }
public static MDBResultCode mdb_put(IntPtr txn, uint dbi, MDBValue key, MDBValue value, PutOptions flags) { return(mdb_put(txn, dbi, ref key, ref value, flags)); }
public static MDBResultCode mdb_del(IntPtr txn, uint dbi, MDBValue key, MDBValue value) { return(mdb_del(txn, dbi, ref key, ref value)); }
public static extern MDBResultCode mdb_put(IntPtr txn, uint dbi, ref MDBValue key, ref MDBValue data, PutOptions flags);
public static extern MDBResultCode mdb_del(IntPtr txn, uint dbi, ref MDBValue key, IntPtr data);
public static extern MDBResultCode mdb_get(IntPtr txn, uint dbi, ref MDBValue key, out MDBValue data);
public static extern MDBResultCode mdb_cursor_put(IntPtr cursor, ref MDBValue key, MDBValue[] value, CursorPutOptions flags);
public static extern MDBResultCode mdb_cursor_get(IntPtr cursor, ref MDBValue key, ref MDBValue data, CursorOperation op);
public static MDBResultCode mdb_cursor_get(IntPtr cursor, ref MDBValue key, ref MDBValue value, CursorOperation op) { return(LmdbMethods.mdb_cursor_get(cursor, ref key, ref value, op)); }
public static MDBResultCode mdb_get(IntPtr txn, uint dbi, ref MDBValue key, out MDBValue value) { return(LmdbMethods.mdb_get(txn, dbi, ref key, out value)); }