Details
Details
- Reviewers
kamil marcin - Commits
- rCOMMde5bbb31d640: [native] Add base64 decode to CommUtilsModule
Encoded and decoded a Uint8Array into base64, using commCoreModule.base64{Encode,Decode}buffer() and console-log.
Used three different length of Uint8Arrays to test all padding values, e.g.:
new Uint8Array([1,2,3,4,5,6]); // AQIDBAUG new Uint8Array([1,2,3,4,5,6,7]); // AQIDBAUGBw== new Uint8Array([1,2,3,4,5,6,7,8]); // AQIDBAUGBwg=
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
Could you make sure in Test Plan that you tested decoding strings with each length of padding at the end (none, =, and ==)?