Home
last modified time | relevance | path

Searched refs:TO_BASE64 (Results 1 - 1 of 1) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/
H A Dbase64_encode.h26 static constexpr const char TO_BASE64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; member
30 output[0U] = TO_BASE64[threeBytes[0u] >> 2u]; in ToBase64()
31 output[1U] = TO_BASE64[((threeBytes[0u] << 4u) | (threeBytes[1u] >> 4u)) & 0x3f]; in ToBase64()
32 output[2U] = TO_BASE64[((threeBytes[1u] << 2u) | (threeBytes[2u] >> 6u)) & 0x3f]; in ToBase64()
33 output[3U] = TO_BASE64[threeBytes[2u] & 0x3f]; in ToBase64()
38 output[0U] = TO_BASE64[threeBytes[0u] >> 2u]; in ToBase64()
39 output[1U] = TO_BASE64[((threeBytes[0u] << 4u) | (threeBytes[1u] >> 4u)) & 0x3f]; in ToBase64()
41 output[2U] = left > 1 ? (TO_BASE64[((threeBytes[1u] << 2u) | (threeBytes[2u] >> 6u)) & 0x3f]) : '='; in ToBase64()
42 output[3U] = left > 2 ? TO_BASE64[threeBytes[2u] & 0x3f] : '='; in ToBase64()

Completed in 1 milliseconds