etebase_account_restore method
Restore and return the account object from the string obtained using etebase_account_save
@param client the already setup EtebaseClient
object
@param account_data_stored the stored account string
@param encryption_key the same encryption key passed to etebase_account_save
while saving the account
@param encryption_key_size size of the encryption_key
Implementation
ffi.Pointer<EtebaseAccount> etebase_account_restore(
ffi.Pointer<EtebaseClient> client,
ffi.Pointer<ffi.Char> account_data_stored,
ffi.Pointer<ffi.Void> encryption_key,
int encryption_key_size,
) {
return _etebase_account_restore(
client,
account_data_stored,
encryption_key,
encryption_key_size,
);
}