![]() |
Murl Engine API
Version 2025.1
|
The Base64 decoder class. More...
#include <murl_util_encoding_base64.h>
The Base64 decoder class.
Public Member Functions | |
| Base64Decoder () | |
| The default constructor. | |
| UInt64 | GetDecodedLength (const void *dataIn, UInt64 byteSizeIn) const |
| Compute the Base64 decoded length. More... | |
| Bool | IsBase64 (const void *dataIn, UInt64 byteSizeIn) const |
| Check if a memory block is Base64 encoded. More... | |
| UInt64 | Decode (const void *dataIn, UInt64 byteSizeIn, void *dataOut, UInt64 byteSizeOut) |
| Decode Base64 characters from a memory block. More... | |
| Char | DecodeValue (Char charIn) const |
| Decode a Base64 character to the 6-bit value. More... | |
Additional Inherited Members | |
Protected Types inherited from Murl::Util::Base64State | |
| enum | Step { STEP_A, STEP_B, STEP_C, STEP_D } |
| State enumeration. More... | |
Protected Member Functions inherited from Murl::Util::Base64State | |
| Base64State () | |
| The default constructor. | |
Protected Attributes inherited from Murl::Util::Base64State | |
| Step | mStep |
| The current state. | |
| Char | mChar |
| The current character. | |
Compute the Base64 decoded length.
| dataIn | Pointer to the Base64 source memory block. |
| byteSizeIn | The byte size of the source memory block. |
Check if a memory block is Base64 encoded.
| dataIn | Pointer to the Base64 source memory block. |
| byteSizeIn | The byte size of the source memory block. |
| UInt64 Murl::Util::Base64Decoder::Decode | ( | const void * | dataIn, |
| UInt64 | byteSizeIn, | ||
| void * | dataOut, | ||
| UInt64 | byteSizeOut | ||
| ) |
Decode Base64 characters from a memory block.
Decoding can be called sequential for divided source blocks.
| dataIn | Pointer to the source memory block. |
| byteSizeIn | The byte size of the source memory block. |
| dataOut | Pointer to the destination memory block. |
| byteSizeOut | The byte size of the destination memory block. |
Decode a Base64 character to the 6-bit value.
| charIn | The Base64 character to decode. |