>&#45;&gt;</span> Unsigned.size_t <span>&#45;&gt;</span> Unsigned.size_t</code></dt><dd><p><code>pickle_account acc key key_len pickled pickled_len</code></p><p>Stores an account as a base64 string. Encrypts the account using the supplied key. Returns the length of the pickled account on success. Returns olm_error() on failure. If the pickle output buffer is smaller than olm_pickle_account_length() then olm_account_last_error() will be &quot;OUTPUT_BUFFER_TOO_SMALL&quot;</p></dd></dl><dl><dt class="spec val