Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Serialization/BitWriter.h |
Include |
#include "Serialization/BitWriter.h" |
struct FBitWriter : public FBitArchive
Writes bitstreams.
Name | Description | |
---|---|---|
|
FBitWriter() |
Default constructor. Zeros everything. |
|
FBitWriter ( |
|
|
FBitWriter ( |
|
|
FBitWriter |
Constructor using known size the buffer needs to be |
Name | Description | ||
---|---|---|---|
|
AllowAppend ( |
||
|
CountMemory ( |
Counts the in-memory bytes used by this object |
|
|
const TArray... |
GetBuffer() |
|
|
const uint8 ... |
GetData() |
|
|
uint8 * |
GetData() |
Returns a pointer to our internal buffer. |
|
GetMaxBits() |
Returns the number of bits the buffer supports. |
|
|
GetNumBits() |
Returns the number of bits written. |
|
|
GetNumBytes() |
Returns the number of bytes written. |
|
|
SetAllowOverflow ( |
Sets whether or not this writer intentionally allows overflows (to avoid logspam) |
|
|
SetAllowResize ( |
||
|
SetOverflowed ( |
Marks this bit writer as overflowed. |
|
|
WriteAlign() |
||
|
WriteBit ( |
||
|
WriteIntWrapped |
Serializes the specified Value, but does not bounds check against ValueMax; instead, it will wrap around if the value exceeds ValueMax (this differs from SerializeInt, which clamps) |
Name | Description | ||
---|---|---|---|
|
SerializeBitsWithOffset |
Name | Description | ||
---|---|---|---|
|
Serialize |
||
|
SerializeBits |
||
|
SerializeInt |
Serializes a compressed integer - Value must be < Max |
|
|
SerializeIntPacked ( |
This function is bit compatible with FArchive::SerializeIntPacked. |
Name | Description | ||
---|---|---|---|
|
operator= ( |
||
|
operator= ( |