Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FBase64
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString Encode
(
const FString& Source, |
Encodes a FString into a Base64 string | Misc/Base64.h | |
static FString Encode
(
const TArray< uint8 >& Source, |
Encodes a binary uint8 array into a Base64 string | Misc/Base64.h | |
static FString Encode
(
const uint8* Source, |
Encodes the source into a Base64 string | Misc/Base64.h | |
static uint32 Encode
(
const uint8* Source, |
Encodes the source into a Base64 string, storing it in a preallocated buffer. | Misc/Base64.h |
Encode(const FString &, EBase64Mode)
Description
Encodes a FString into a Base64 string
| Name | Encode |
| 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 FString Encode
(
const FString & Source,
EBase64Mode Mode
)
A string that encodes the binary data in a way that can be safely transmitted via various Internet protocols
Parameters
| Name | Remarks |
|---|---|
| Source | The string data to convert |
| Mode | The mode to use for encoding. Default is EBase64Mode::Standard |
Encode(const TArray< uint8 > &, EBase64Mode)
Description
Encodes a binary uint8 array into a Base64 string
| Name | Encode |
| 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 FString Encode
(
const TArray < uint8 > & Source,
EBase64Mode Mode
)
A string that encodes the binary data in a way that can be safely transmitted via various Internet protocols
Parameters
| Name | Remarks |
|---|---|
| Source | The binary data to convert |
| Mode | The mode to use for encoding. Default is EBase64Mode::Standard |
Encode(const uint8 *, uint32, EBase64Mode)
Description
Encodes the source into a Base64 string
| Name | Encode |
| 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 FString Encode
(
const uint8 * Source,
uint32 Length,
EBase64Mode Mode
)
Base64 encoded string containing the binary data.
Parameters
| Name | Remarks |
|---|---|
| Source | The binary data to encode |
| Length | Length of the binary data to be encoded |
| Mode | The mode to use for encoding. Default is EBase64Mode::Standard |
Encode(const uint8 , uint32, CharType , EBase64Mode)
Description
Encodes the source into a Base64 string, storing it in a preallocated buffer.
| Name | Encode |
| 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 uint32 Encode
(
const uint8 * Source,
uint32 Length,
CharType * Dest,
EBase64Mode Mode
)
The length of the encoded data
Parameters
| Name | Remarks |
|---|---|
| Source | The binary data to encode |
| Length | Length of the binary data to be encoded |
| Dest | Buffer to receive the encoded data. Must be large enough to contain the entire output data (see GetEncodedDataSize()). Can point to the same buffer as Source |
| Mode | The mode to use for encoding. Default is EBase64Mode::Standard |