c
// Example using safer practices or libraries
#include <vector>
static inline void DecodeBase64Block(std::vector<uint8_t>& ascii, const std::vector<uint8_t>& b64) {
    if (b64.size() < 2) {
        // Handle error: not enough data
        return;
    }
    ascii[0] = (uint8_t) (b64[0] << 2) | (b64[1] >> 4);
}
