|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Functions | |
| String | encode (StringView data) |
| Encode arbitrary data into a Base64 string. | |
| String | decode (StringView string) |
| Decode the original data from a Base64 string. | |
| String grem::base64::encode | ( | StringView | data | ) |
Encode arbitrary data into a Base64 string.
| data | input data to encode. |
| std::length_error | if the length of the encoded string exceeds the maximum supported string size. |
| std::bad_alloc | on allocation failure. |
| String grem::base64::decode | ( | StringView | string | ) |
Decode the original data from a Base64 string.
| string | Base64 string to decode. |
| std::invalid_argument | if the length of the Base64 string is not divisible by 4. |
| std::length_error | if the length of the decoded byte sequence exceeds the maximum supported string size. |
| std::bad_alloc | on allocation failure. |