5#include "Containers/Array.h"
6#include "Containers/UnrealString.h"
8#include "Misc/Timespan.h"
20
21
25
26
27
28
29
30
31
35
36
37
38
39
40
41
45
46
47
48
49
50
51
52
56
57
58
59
60
61
62
63
64
68
69
70
71
72
73
76 return ((NumBytes + 2) / 3) * 4;
80
81
82
83
84
85
86
87
91
92
93
94
95
96
97
98
102
103
104
105
106
107
108
109
110
114
115
116
117
118
119
123
124
125
126
127
128
129
133
134
135
136
137
138
141 return ((NumChars * 3) + 3) / 4;
static bool Decode(const CharType *Source, uint32 Length, uint8 *Dest, EBase64Mode Mode=EBase64Mode::Standard)
static constexpr uint32 GetMaxDecodedDataSize(uint32 NumChars)
static constexpr uint32 GetEncodedDataSize(uint32 NumBytes)
static uint32 GetDecodedDataSize(const CharType *Source, uint32 Length)
static bool Decode(const FString &Source, TArray< uint8 > &Dest, EBase64Mode Mode=EBase64Mode::Standard)
static FString Encode(const TArray< uint8 > &Source, EBase64Mode Mode=EBase64Mode::Standard)
static FString Encode(const FString &Source, EBase64Mode Mode=EBase64Mode::Standard)
static FString Encode(const uint8 *Source, uint32 Length, EBase64Mode Mode=EBase64Mode::Standard)
static uint32 GetDecodedDataSize(const FString &Source)
static bool Decode(const FString &Source, FString &OutDest, EBase64Mode Mode=EBase64Mode::Standard)
static uint32 Encode(const uint8 *Source, uint32 Length, CharType *Dest, EBase64Mode Mode=EBase64Mode::Standard)