FBase64::Decode

Decodes a Base64 string into 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 bool Decode
(
    const CharType * Source,
    uint32 Length,
    uint8 * Dest
)

Remarks

Decodes a Base64 string into a preallocated buffer

Returns

true if the buffer was decoded, false if it was invalid.

Parameters

Parameter

Description

Source

The Base64 encoded string

Length

Length of the Base64 encoded string

Dest

Buffer to receive the decoded data

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