A grouping of utilities for working with binary data more easily. More...
Classes | |
| class | BinaryBuffer |
| A way to store and pass binary buffers, for example compiled bytecode. More... | |
Functions | |
| BinaryBuffer | Base64Decode (String const &EncodedString) |
| Convert Base64 stuff back to binary. More... | |
| String | Base64Encode (String const &Unencoded) |
| Converts the contents of a String into a String containing a base64 encoded String. More... | |
| String | Base64Encode (BinaryBuffer const &Buffer) |
| Convert a binary buffer to a base64 String. More... | |
| String | Base64Encode (UInt8 const *BytesToEncode, unsigned int Length) |
| Convert a binary buffer to a Base64 string. More... | |
| bool | IsBase64 (unsigned char Char8) |
| Is a character a valid Base64 character. More... | |
| Whole | PredictBase64StringSizeFromBinarySize (Whole Length) |
| From the size of a binary get the exact size in 8bit bytes. More... | |
| Whole | PredictBinarySizeFromBase64String (String const &EncodedString) |
| From an encoded string get the exact size of the decode binary in 8bit bytes. More... | |
A grouping of utilities for working with binary data more easily.
| BinaryBuffer Mezzanine::BinaryTools::Base64Decode | ( | String const & | EncodedString) |
Convert Base64 stuff back to binary.
| EncodedString | The results of a previous function like Base64Encode to be converted back to binary |
Definition at line 338 of file binarybuffer.cpp.
| String Mezzanine::BinaryTools::Base64Encode | ( | String const & | Unencoded) |
Converts the contents of a String into a String containing a base64 encoded String.
| Unencoded | A String/binary to be encoded |
Definition at line 283 of file binarybuffer.cpp.
| String Mezzanine::BinaryTools::Base64Encode | ( | BinaryBuffer const & | Buffer) |
Convert a binary buffer to a base64 String.
| Buffer | A BinaryBuffer to base64 encode. |
Definition at line 286 of file binarybuffer.cpp.
| String Mezzanine::BinaryTools::Base64Encode | ( | UInt8 const * | BytesToEncode, |
| unsigned int | Length | ||
| ) |
Convert a binary buffer to a Base64 string.
| BytesToEncode | A pointer to the beginning of the buffer. |
| Length | The length of the bufferin bytes. |
Definition at line 290 of file binarybuffer.cpp.
| bool Mezzanine::BinaryTools::IsBase64 | ( | unsigned char | Char8) |
Is a character a valid Base64 character.
| Char8 | a single char to check if it could possibly be valid base64 |
Definition at line 280 of file binarybuffer.cpp.
| Whole Mezzanine::BinaryTools::PredictBase64StringSizeFromBinarySize | ( | Whole | Length) |
From the size of a binary get the exact size in 8bit bytes.
| Length | The bytelength of the item before Base64 encoding. |
Definition at line 355 of file binarybuffer.cpp.
| Whole Mezzanine::BinaryTools::PredictBinarySizeFromBase64String | ( | String const & | EncodedString) |
From an encoded string get the exact size of the decode binary in 8bit bytes.
| EncodedString | The base64 encoded string |
Definition at line 347 of file binarybuffer.cpp.
1.8.4