Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/Serialization > API/Runtime/IrisCore/Iris/Serialization/FNetBitStreamWriter
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/Serialization/NetBitStreamWriter.h |
| Include | #include "Iris/Serialization/NetBitStreamWriter.h" |
| Source | /Engine/Source/Runtime/Experimental/Iris/Core/Private/Iris/Serialization/NetBitStreamWriter.cpp |
void WriteBits
(
uint32 Value,
uint32 BitCount
)
Remarks
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.