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/NetBitStreamWriter.h |
| Include | #include "Iris/Serialization/NetBitStreamWriter.h" |
Syntax
class FNetBitStreamWriter
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CommitSubstream
(
FNetBitStreamWriter& Substream |
Commits a substream to this stream. | |
| void | CommitWrites () |
Commits pending writes to the buffer. | |
| FNetBitStreamWriter | CreateSubstream
(
uint32 MaxBitCount |
Creates a substream at the current bit position. | |
| void | DiscardSubstream
(
FNetBitStreamWriter& Substream |
Discards a substream of this stream. | |
| void | DoOverflow () |
Force an overflow. | |
| uint32 | Returns the absolute bit position | ||
| uint32 | GetBitsLeft () |
Returns the number of bits that can be written before overflowing. | |
| uint32 | GetPosBits () |
Returns the current bit position | |
| uint32 | GetPosBytes () |
Returns the the current byte position. | |
| void | InitBytes must be called before writing to the stream. | ||
| bool | IsOverflown () |
Returns whether the stream is overflown or not. | |
| void | Seek to a specific BitPosition. | ||
| void | Writes the BitCount least significant bits from Value. | ||
| void | WriteBitStream
(
const uint32* Src, |
Writes BitCount bits from Src starting at SrcBitOffset. | |
| bool | WriteBool
(
bool Value |
Writes a bool to the stream and returns the value of the bool |