public static int mdb_cursor_get(IntPtr cursor, byte[] key, out ValueStructure keyStructure, out ValueStructure valueStructure, CursorOperation op) { valueStructure = default(ValueStructure); using (var marshal = new MarshalValueStructure(key)) { keyStructure = marshal.Key; return(checkRead(LmdbMethods.mdb_cursor_get(cursor, ref keyStructure, ref valueStructure, op))); } }
public static int mdb_cursor_get_multiple(IntPtr cursor, ref ValueStructure key, ref ValueStructure value, CursorOperation op) { return(checkRead(LmdbMethods.mdb_cursor_get(cursor, ref key, ref value, op))); }
public static int mdb_cursor_get(IntPtr cursor, out ValueStructure key, out ValueStructure value, CursorOperation op) { key = value = default(ValueStructure); return(checkRead(LmdbMethods.mdb_cursor_get(cursor, ref key, ref value, op))); }
public static int mdb_cursor_get(IntPtr cursor, byte[] key, byte[] value, CursorOperation op) { using (var marshal = new MarshalValueStructure(key, value)) return(checkRead(LmdbMethods.mdb_cursor_get(cursor, ref marshal.Key, ref marshal.Value, op))); }