Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Serialization
Inheritance Hierarchy
- FArchiveState
- FArchive
- FBitArchive
- FBitReader
- FNetBitReader
- FInBunch
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Serialization/BitReader.h |
| Include | #include "Serialization/BitReader.h" |
Syntax
struct FBitReader : public FBitArchive
Remarks
Reads bitstreams.
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
FBitReader
(
const FBitReader& |
|||
FBitReader
(
FBitReader&& |
|||
FBitReader
(
const uint8* Src, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FBitReader () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AppendDataFromChecked
(
FBitReader& Src |
This appends data from another BitReader. | |
| void | AppendDataFromChecked
(
uint8* Src, |
||
| void | |||
| void | CountMemory
(
FArchive& Ar |
Counts the in-memory bytes used by this object | |
| void | EatByteAlign () |
||
| int64 | GetBitsLeft () |
||
| const TArray< uint8 > & | GetBuffer () |
||
| int64 | GetBytesLeft () |
||
| const uint8 * | GetData () |
||
| uint8 * | GetData () |
||
| uint8 * | |||
| int64 | GetNumBits () |
||
| int64 | GetNumBytes () |
||
| int64 | GetPosBits () |
||
| uint8 | ReadBit () |
||
| uint32 | |||
| void | ResetData
(
FBitReader& Src, |
Equivalent to SetData (reset position, copy from Src into internal buffer), but uses Reset not Empty to avoid a realloc if possible. | |
| void | SetAtEnd () |
Set the stream at the end | |
| void | |||
| void | SetData
(
FBitReader& Src, |
||
| void | |||
| void | SetNetVersionsFromArchive
(
FArchive& Source |
Copies version information used for network compatibility from Source to this archive | |
| void | SetOverflowed
(
int64 LengthBits |
Marks this bit reader as overflowed. |
Overridden from FBitArchive
| Type | Name | Description | |
|---|---|---|---|
| void | SerializeBitsWithOffset
(
void* Dest, |
Overridden from FArchive
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | SerializeBits
(
void* Dest, |
Disable false positive buffer overrun warning during pgoprofile linking step. | |
| void | SerializeInt
(
uint32& OutValue, |
OutValue < ValueMax. | |
| void | SerializeIntPacked
(
uint32& Value |
Packs int value into bytes of 7 bits with 8th bit for 'more' |
Overridden from FArchiveState
| Type | Name | Description | |
|---|---|---|---|
| bool | AtEnd () |
Returns true if the current location within the backing data storage is at the end, always returns false if there is no storage. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FBitReader & | operator=
(
FBitReader&& |
||
| FBitReader & | operator=
(
const FBitReader& |