Leveldb_get typedef
Leveldb_get =
Pointer<Uint8> Function(Pointer<leveldb_t> db, Pointer<leveldb_readoptions_t> options, Pointer<Uint8> key, int keylen, Pointer<IntPtr> vallen, Pointer<Pointer<Utf8> > errptr)
Returns NULL if not found. A malloc()ed array otherwise. Stores the length of the array in *vallen.
LEVELDB_EXPORT char* leveldb_get(leveldb_t* db,
const leveldb_readoptions_t* options,
const char* key, size_t keylen, size_t* vallen,
char** errptr);
Implementation
typedef Leveldb_get = Pointer<Uint8> Function(
Pointer<leveldb_t> db,
Pointer<leveldb_readoptions_t> options,
Pointer<Uint8> key,
int keylen,
Pointer<IntPtr> vallen,
Pointer<Pointer<Utf8>> errptr,
);