diff
< uint8_t *dptr = dest;
< // ... (in the decoding loop)
< DecodeBase64Block(dptr, b64);
---
> uint32_t offset = 0;
> // ... (in the decoding loop)
> DecodeBase64Block(dest + offset, b64);
> offset += numDecoded_blk;
> *decoded_bytes += numDecoded_blk;
