mdb_env_get_maxkeysize function

int mdb_env_get_maxkeysize(
  1. Pointer<MDB_env> env
)

@brief Get the maximum size of keys and #MDB_DUPSORT data we can write.

Depends on the compile-time constant #MDB_MAXKEYSIZE. Default 511. See @ref MDB_val. @paramin env An environment handle returned by #mdb_env_create() @return The maximum size of a key we can write

Implementation

@ffi.FfiNative<ffi.Int Function(ffi.Pointer<MDB_env>)>('mdb_env_get_maxkeysize')
external int mdb_env_get_maxkeysize(
  ffi.Pointer<MDB_env> env,
);