FBitWriter::SerializeInt

Serializes a compressed integer - Value must be < Max

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FArchive::SerializeInt()

FBitWriter::SerializeInt()

References

Module

Core

Header

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

Include

#include "Serialization/BitWriter.h"

Source

/Engine/Source/Runtime/Core/Private/Serialization/BitWriter.cpp

Syntax

virtual void SerializeInt
(
    uint32 & Value,
    uint32 Max
)

Remarks

Serializes a compressed integer - Value must be < Max

Parameters

Parameter

Description

Value

The value to serialize, must be < Max

Max

The maximum allowed value - good to aim for power-of-two