botan.codec.base64

Base64 Encoding and Decoding

Members

Functions

base64Decode
size_t base64Decode(ubyte* output, const(char)* input, size_t input_length, size_t input_consumed, bool final_inputs, bool ignore_ws)

Perform base64 decoding

base64Decode
size_t base64Decode(ubyte* output, const(char)* input, size_t input_length, bool ignore_ws)

Perform base64 decoding

base64Decode
size_t base64Decode(ubyte* output, string input, bool ignore_ws)

Perform base64 decoding

base64Decode
SecureVector!ubyte base64Decode(string input, bool ignore_ws)

Perform base64 decoding

base64Decode
SecureVector!ubyte base64Decode(Vector!char input, bool ignore_ws)

Perform base64 decoding

base64Encode
size_t base64Encode(char* output, const(ubyte)* input, size_t input_length, size_t input_consumed, bool final_inputs)

Perform base64 encoding

base64Encode
string base64Encode(const(ubyte)* input, size_t input_length)

Perform base64 encoding

base64Encode
string base64Encode(Vector!(ubyte, Alloc) input)

Perform base64 encoding

doBase64Encode
void doBase64Encode(char[4] output, ubyte[3] input)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

BIN_TO_BASE64
ubyte[64] BIN_TO_BASE64;
Undocumented in source.

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)