Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/Base64.h |
| Include | #include "Misc/Base64.h" |
Syntax
struct FBase64
Remarks
Class for encoding/decoding Base64 data (RFC 4648)
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Decodes a Base64 string into a FString | ||
| bool | Decodes a Base64 string into an array of bytes | ||
| bool | Decode
(
const CharType* Source, |
Decodes a Base64 string into a preallocated buffer | |
| FString | Encodes a FString into a Base64 string | ||
| FString | Encodes a binary uint8 array into a Base64 string | ||
| FString | Encode
(
const uint8* Source, |
Encodes the source into a Base64 string | |
| uint32 | Encode
(
const uint8* Source, |
Encodes the source into a Base64 string, storing it in a preallocated buffer. | |
| uint32 | GetDecodedDataSize
(
const FString& Source |
Determine the decoded data size for the incoming base64 encoded string | |
| uint32 | GetDecodedDataSize
(
const CharType* Source, |
Determine the decoded data size for the incoming base64 encoded string | |
| constexpr uint32 | GetEncodedDataSize
(
uint32 NumBytes |
Get the encoded data size for the given number of bytes. | |
| constexpr uint32 | GetMaxDecodedDataSize
(
uint32 NumChars |
Get the maximum decoded data size for the given number of input characters. |