key_len pickled pickled_len</code></p><p>Stores a session as a base64 string. Encrypts the session using the supplied key. Returns the length of the pickled session on success. Returns olm_error() on failure. If the pickle output buffer is smaller than olm_pickle_session_length() then olm_session_last_error() will be &quot;OUTPUT_BUFFER_TOO_SMALL&quot;</p></dd></dl><dl><dt class="spec value" id="val-unpickle_account"><a href="#val-unpickle_account" class="anchor"></a><code><span class="keyword">val</span> u