Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FBase64 > API/Runtime/Core/Misc/FBase64/Encode
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/Base64.h |
| Include | #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
)
Remarks
Encodes the source into a Base64 string, storing it in a preallocated buffer. The length of the encoded data
Parameters
| Name | Description |
|---|---|
| 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 |