Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/FNetBitStreamWriter
Description
Writes the BitCount least significant bits from Value. There's no validation of the Value, meaning it is allowed to contain garbage in the bits that are not going to be written to the buffer. If the BitCount exceeds the remaining space no bits will be written and the stream will be marked as overflown.
| Name | WriteBits |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/Serialization/NetBitStreamWriter.h |
| Include Path | #include "Iris/Serialization/NetBitStreamWriter.h" |
| Source | /Engine/Source/Runtime/Experimental/Iris/Core/Private/Iris/Serialization/NetBitStreamWriter.cpp |
void WriteBits
(
uint32 Value,
uint32 BitCount
)