Page MenuHomePhorge

Expose base64 functions from vodozemac
Needs ReviewPublic

Authored by tusooa on Mon, Aug 24, 4:13 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

In v1.0.0 we followed the API changes to not wrap base64 for olm messages and use Vec<u8>. However, as per https://github.com/dtolnay/cxx/issues/1699 , there is no way to efficiently append multiple items to this Vec, and users can only push_back() one byte at a time, which is time-consuming. As a workaround, we expose the base64 encode and decode functions to generate the Vec<u8> needed.

Type: add

Test Plan

Check unit tests pass.

Diff Detail

Repository
rVB vodozemac-bindings
Branch
servant
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 715
Build 1412: Invoke BuildbotBuildbot build #2573
Build 1411: arc lint + arc unit