![]() |
NDEVR
API Documentation
|
Functions for converting to and from Base64 https://en.wikipedia.org/wiki/Base64. More...
Static Public Member Functions | |
| static void | AppendBase64To (String &s, const uint01 *buf, uint04 size) |
| Appends Base64-encoded data from a raw byte buffer to an existing string. | |
| static Buffer< uint01 > | DecodeFromBase64 (StringView encoded_string) |
| Decodes a Base64-encoded string back into its original raw bytes. | |
| static String | EncodeToBase64 (const uint01 *buf, uint04 size) |
| Encodes a raw byte buffer into a Base64-encoded string. | |
| static String | EncodeToBase64 (File file) |
| Encodes the contents of a file into a Base64-encoded string. | |
| static uint04 | pos_of_char (const uint01 chr) |
| Looks up the position index of a character within the Base64 alphabet. | |
Functions for converting to and from Base64 https://en.wikipedia.org/wiki/Base64.
Definition at line 14 of file Base64Encoder.h.
Appends Base64-encoded data from a raw byte buffer to an existing string.
| [in] | s | The string to append the encoded data to. |
| [in] | buf | Pointer to the byte buffer to encode. |
| [in] | size | The number of bytes in the buffer. |
|
static |
Decodes a Base64-encoded string back into its original raw bytes.
| [in] | encoded_string | The Base64-encoded string to decode. |
Encodes a raw byte buffer into a Base64-encoded string.
| [in] | buf | Pointer to the byte buffer to encode. |
| [in] | size | The number of bytes in the buffer. |
Encodes the contents of a file into a Base64-encoded string.
| [in] | file | The file whose contents will be encoded. |
Looks up the position index of a character within the Base64 alphabet.
| [in] | chr | The character to look up. |