ns_database_options_set_encryption function
- @Native<Void Function(Pointer<ns_database_options_t>, Pointer<Uint8>, Size, ns_database_encrypt_fn, ns_database_decrypt_fn, Pointer<Void>)>(ffi.Pointer<ns_database_options_t>, ffi.Pointer<ffi.Uint8>, ffi.Size, ns_database_encrypt_fn, ns_database_decrypt_fn, ffi.Pointer<ffi.Void>)>()
void
ns_database_options_set_encryption(
- Pointer<ns_database_options_t> options,
- Pointer<Uint8> key,
- int key_length,
- ns_database_encrypt_fn encrypt,
- ns_database_decrypt_fn decrypt,
- Pointer<Void> user_data,
)
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<ns_database_options_t>,
ffi.Pointer<ffi.Uint8>,
ffi.Size,
ns_database_encrypt_fn,
ns_database_decrypt_fn,
ffi.Pointer<ffi.Void>)>()
external void ns_database_options_set_encryption(
ffi.Pointer<ns_database_options_t> options,
ffi.Pointer<ffi.Uint8> key,
int key_length,
ns_database_encrypt_fn encrypt,
ns_database_decrypt_fn decrypt,
ffi.Pointer<ffi.Void> user_data,
);