Home
last modified time | relevance | path

Searched refs:encode_bits (Results 1 – 1 of 1) sorted by relevance

/external/pigweed/pw_base64/
Dbase64.cc29 constexpr char encode_bits[64] = { variable
37 return encode_bits[(byte0 & 0b11111100) >> 2]; in BitGroup0Char()
40 return encode_bits[((byte0 & 0b00000011) << 4) | ((byte1 & 0b11110000) >> 4)]; in BitGroup1Char()
43 return encode_bits[((byte1 & 0b00001111) << 2) | ((byte2 & 0b11000000) >> 6)]; in BitGroup2Char()
46 return encode_bits[byte2 & 0b00111111]; in BitGroup3Char()