Navigation
Unreal Engine C++ API Reference > Runtime > Core > Serialization > FBitWriter
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 |
void WriteIntWrapped
&40;
uint32 Value,
uint32 ValueMax
&41;
Remarks
Serializes the specified Value, but does not bounds check against ValueMax; instead, it will wrap around if the value exceeds ValueMax (this differs from SerializeInt, which clamps)
Parameters
Name | Description |
---|---|
Value | The value to serialize |
ValueMax | The maximum value to write; wraps Value if it exceeds this |