Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FBase64 > API/Runtime/Core/Misc/FBase64/Decode
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/Base64.h |
| Include | #include "Misc/Base64.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/Base64.cpp |
template<typename CharType>
static bool Decode
(
const CharType * Source,
uint32 Length,
uint8 * Dest,
EBase64Mode Mode
)
Remarks
Decodes a Base64 string into a preallocated buffer true if the buffer was decoded, false if it was invalid.
Parameters
| Name | Description |
|---|---|
| Source | The Base64 encoded string |
| Length | Length of the Base64 encoded string |
| Dest | Buffer to receive the decoded data. Must be large enough to contain the entire output data (see GetDecodedDataSize()). Can point to the same buffer as Source |
| Mode | The mode to use for decoding. Default is EBase64Mode::Standard |