HomePhabricator
Diffusion Comm 0d7e1448bd31

[native] Add C++ function to decode base64

Description

[native] Add C++ function to decode base64

Summary:
The thumbhash bytes will be stored as base64 string so we need a function to decode it.

This code, similarly to the encode function, is based on this article, with slight modifications.

Test Plan: This will be tested together with the next diff.

Reviewers: kamil, inka, marcin

Reviewed By: kamil

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D7758

Details

Provenance
bartekAuthored on May 3 2023, 2:25 AM
Reviewer
kamil
Differential Revision
D7758: [native] Add C++ function to decode base64
Parents
rCOMM72310720eb50: [keyserver] Validate link responders
Branches
Unknown
Tags
Unknown