Navigation
API > API/Runtime > API/Runtime/Core
Class for encoding/decoding Base64 data (RFC 4648)
| Name | FBase64 |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Base64.h |
| Include Path | #include "Misc/Base64.h" |
Syntax
struct FBase64
Functions
Static
| 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 | |
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 | |
static uint32 GetDecodedDataSize
(
const FString& Source |
Determine the decoded data size for the incoming base64 encoded string | Misc/Base64.h | |
static uint32 GetDecodedDataSize
(
const CharType* Source, |
Determine the decoded data size for the incoming base64 encoded string | Misc/Base64.h | |
static uint32 GetEncodedDataSize
(
uint32 NumBytes |
Get the encoded data size for the given number of bytes. | Misc/Base64.h | |
static uint32 GetMaxDecodedDataSize
(
uint32 NumChars |
Get the maximum decoded data size for the given number of input characters. | Misc/Base64.h |