23#ifndef MUTT_MUTT_BASE64_H
24#define MUTT_MUTT_BASE64_H
32#define base64val(ch) Index64[(unsigned int) (ch)]
35size_t mutt_b64_encode(
const char *in,
size_t inlen,
char *out,
size_t outlen);
size_t mutt_b64_encode(const char *in, size_t inlen, char *out, size_t outlen)
Convert raw bytes to null-terminated base64 string.
size_t mutt_b64_buffer_encode(struct Buffer *buf, const char *in, size_t len)
Convert raw bytes to null-terminated base64 string.
int mutt_b64_decode(const char *in, char *out, size_t olen)
Convert null-terminated base64 string to raw bytes.
int mutt_b64_buffer_decode(struct Buffer *buf, const char *in)
Convert null-terminated base64 string to raw bytes.
const int Index64[]
Lookup table for Base64 encoding characters.
String manipulation buffer.