Class for encoding/decoding Base64 data (RFC 4648) 更多...
#include <Base64.h>
静态 Public 成员函数 | |
| template<typename CharType > | |
| static bool | Decode (const CharType *Source, uint32 Length, uint8 *Dest) |
| Decodes a Base64 string into a preallocated buffer 更多... | |
| static bool | Decode (const FString &Source, FString &OutDest) |
| Decodes a Base64 string into a FString 更多... | |
| static bool | Decode (const FString &Source, TArray< uint8 > &Dest) |
| Decodes a Base64 string into an array of bytes 更多... | |
| static FString | Encode (const FString &Source) |
| Encodes a FString into a Base64 string 更多... | |
| static FString | Encode (const TArray< uint8 > &Source) |
| Encodes a binary uint8 array into a Base64 string 更多... | |
| static FString | Encode (const uint8 *Source, uint32 Length) |
| Encodes the source into a Base64 string 更多... | |
| template<typename CharType > | |
| static uint32 | Encode (const uint8 *Source, uint32 Length, CharType *Dest) |
| Encodes the source into a Base64 string, storing it in a preallocated buffer. 更多... | |
| template<typename CharType > | |
| static uint32 | GetDecodedDataSize (const CharType *Source, uint32 Length) |
| Determine the decoded data size for the incoming base64 encoded string 更多... | |
| static uint32 | GetDecodedDataSize (const FString &Source) |
| Determine the decoded data size for the incoming base64 encoded string 更多... | |
| static constexpr uint32 | GetEncodedDataSize (uint32 NumBytes) |
| Get the encoded data size for the given number of bytes. 更多... | |
| static constexpr uint32 | GetMaxDecodedDataSize (uint32 NumChars) |
| Get the maximum decoded data size for the given number of input characters. 更多... | |
Class for encoding/decoding Base64 data (RFC 4648)
|
static |
Decodes a Base64 string into a preallocated buffer
| Source | The Base64 encoded string |
| Length | Length of the Base64 encoded string |
| Dest | Buffer to receive the decoded data |
Decodes a Base64 string into a FString
| Source | The Base64 encoded string |
| OutDest | Receives the decoded string data |
Decodes a Base64 string into an array of bytes
| Source | The Base64 encoded string |
| Dest | Array to receive the decoded data |
Encodes a FString into a Base64 string
| Source | The string data to convert |
Encodes a binary uint8 array into a Base64 string
| Source | The binary data to convert |
|
static |
Encodes the source into a Base64 string
| Source | The binary data to encode |
| Length | Length of the binary data to be encoded |
|
static |
Encodes the source into a Base64 string, storing it in a preallocated buffer.
| 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()). |
|
static |
Determine the decoded data size for the incoming base64 encoded string
| Source | The Base64 encoded string |
| Length | Length of the Base64 encoded string |
|
static |
Determine the decoded data size for the incoming base64 encoded string
| Source | The Base64 encoded string |
|
inlinestaticconstexpr |
Get the encoded data size for the given number of bytes.
| NumBytes | The number of bytes of input |
|
inlinestaticconstexpr |
Get the maximum decoded data size for the given number of input characters.
| Length | The number of input characters. |