public static int mdb_cursor_put(IntPtr cursor, ref ValueStructure key, ValueStructure[] data, CursorPutOptions flags) { return(check(LmdbMethods.mdb_cursor_put(cursor, ref key, data, flags))); }
public static int mdb_cursor_put(IntPtr cursor, byte[] key, byte[] value, CursorPutOptions flags) { using (var marshal = new MarshalValueStructure(key, value)) return(check(LmdbMethods.mdb_cursor_put(cursor, ref marshal.Key, ref marshal.Value, flags))); }