WriteVarUInt

Write a variable-length unsigned integer.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/VarInt.h

Include

#include "Serialization/VarInt.h"

Syntax

uint32 WriteVarUInt
(
    uint32 InValue,
    void * OutData
)

Remarks

Write a variable-length unsigned integer.

Returns

The number of bytes used in the output.

Parameters

Parameter

Description

InValue

An unsigned integer to encode.

OutData

A buffer of at least 5 bytes to write the output to.

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