* base64_encode_triplet - encode 3 bytes into base64 according to rfc4648 * @param dest Buffer containing 4 bytes * @param src Buffer containing 3 bytes */
| 157 | * @param src Buffer containing 3 bytes |
| 158 | */ |
| 159 | static inline |
| 160 | void base64_encode_triplet(char dest[4], const char src[3]) |
| 161 | { |
| 162 | base64_encode_triplet_using_maps(&base64_maps_rfc4648, dest, src); |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * base64_encode_tail - encode the final bytes of a source according to rfc4648 |