olm_unpickle_account

Loads an account from a pickled base64 string. Decrypts the account using * the supplied key. Returns olm_error() on failure. If the key doesn't * match the one used to encrypt the account then olm_account_last_error() * will be "BAD_ACCOUNT_KEY". If the base64 couldn't be decoded then * olm_account_last_error() will be "INVALID_BASE64". The input pickled * buffer is destroyed

extern (C)
size_t
olm_unpickle_account
(,
const(void)* key
,
size_t key_length
,
void* pickled
,)

Meta