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
&40;
const uint8 &42; Source,
uint32 Length,
CharType &42; Dest,
EBase64Mode Mode
&41;
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()). |
Mode | The mode to use for encoding. Default is EBase64Mode::Standard |