FBase64::Encode

Encodes the source into a Base64 string, storing it in a preallocated buffer.

Windows
MacOS
Linux

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

Syntax

template<typename CharType>
static uint32 Encode
(
    const uint8 * Source,
    uint32 Length,
    CharType * Dest
)

Remarks

Encodes the source into a Base64 string, storing it in a preallocated buffer.

Returns

The length of the encoded data

Parameters

Parameter

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()).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss