Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/Serialization
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/Serialization/NetBitStreamReader.h |
| Include | #include "Iris/Serialization/NetBitStreamReader.h" |
Syntax
class FNetBitStreamReader
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DoOverflow () |
Force an overflow. | |
| uint32 | GetBitsLeft () |
Returns the number of bits that can be read before overflowing. | |
| uint32 | GetPosBits () |
Returns the current bit position. | |
| void | InitBits
(
const void* Buffer, |
InitBits must be called before reading from the stream. | |
| bool | IsOverflown () |
Returns whether the stream is overflown or not. | |
| uint32 | ReadBits
(
uint32 BitCount |
Reads BitCount bits that are stored in the least significant bits in the return value. | |
| void | ReadBitStream
(
uint32* Dst, |
Reads BitCount bits and stores them in Dst, starting from bit offset 0. | |
| bool | ReadBool () |
Reads a bool from the stream and returns the value, A failed read will always return false and stream will be marked as overflown | |
| void | Seek
(
uint32 BitPosition |
Seek to a specific BitPosition. |