Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/FNetBitStreamReader
Description
Reads BitCount bits that are stored in the least significant bits in the return value. Other bits will be set to zero. If the BitCount exceeds the remaining space the function will return zero and the stream will be marked as overflown.
| Name | ReadBits |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/Serialization/NetBitStreamReader.h |
| Include Path | #include "Iris/Serialization/NetBitStreamReader.h" |
| Source | /Engine/Source/Runtime/Experimental/Iris/Core/Private/Iris/Serialization/NetBitStreamReader.cpp |
uint32 ReadBits
(
uint32 BitCount
)