54
54
/* We have at most 4 buffered bits, and a total of (4 + length * 8) bits. */
55
55
#define BASE64_ENCODE_LENGTH(length) (((length) * 8 + 4)/6)
58
58
#define BASE64_ENCODE_FINAL_LENGTH 3
60
60
/* Exact length of output generated by base64_encode_raw, including