Function lcxx::encode::base64

Function Documentation

auto lcxx::encode::base64(std::span<const std::byte> const bytes) -> std::string

encodes a byte span to a base64 string

Parameters:

bytes – the byte span that will be encoded

Returns:

std::string the input bytes as base64 encoded string