Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FBase64
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool Decode
(
const FString& Source, |
Decodes a Base64 string into a FString | Misc/Base64.h | |
static bool Decode
(
const FString& Source, |
Decodes a Base64 string into an array of bytes | Misc/Base64.h | |
static bool Decode
(
const CharType* Source, |
Decodes a Base64 string into a preallocated buffer | Misc/Base64.h |
Decode(const FString &, FString &, EBase64Mode)
Description
Decodes a Base64 string into a FString
| Name | Decode |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Base64.h |
| Include Path | #include "Misc/Base64.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/Base64.cpp |
static bool Decode
(
const FString & Source,
FString & OutDest,
EBase64Mode Mode
)
true if the buffer was decoded, false if it was invalid.
Parameters
| Name | Remarks |
|---|---|
| Source | The Base64 encoded string |
| OutDest | Receives the decoded string data |
| Mode | The mode to use for decoding. Default is EBase64Mode::Standard |
Decode(const FString &, TArray< uint8 > &, EBase64Mode)
Description
Decodes a Base64 string into an array of bytes
| Name | Decode |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Base64.h |
| Include Path | #include "Misc/Base64.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/Base64.cpp |
static bool Decode
(
const FString & Source,
TArray < uint8 > & Dest,
EBase64Mode Mode
)
true if the buffer was decoded, false if it was invalid.
Parameters
| Name | Remarks |
|---|---|
| Source | The Base64 encoded string |
| Dest | Array to receive the decoded data |
| Mode | The mode to use for decoding. Default is EBase64Mode::Standard |
Decode(const CharType , uint32, uint8 , EBase64Mode)
Description
Decodes a Base64 string into a preallocated buffer
| Name | Decode |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Base64.h |
| Include Path | #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
)
true if the buffer was decoded, false if it was invalid.
Parameters
| Name | Remarks |
|---|---|
| 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 |