Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FBitReader
Description
Equivalent to SetData (reset position, copy from Src into internal buffer), but uses Reset not Empty to avoid a realloc if possible. The internal buffer wiill be able to hold at least the maximum of CountBits and CountBitsWithSlack
| Name | ResetData |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/BitReader.h |
| Include Path | #include "Serialization/BitReader.h" |
| Source | /Engine/Source/Runtime/Core/Private/Serialization/BitReader.cpp |
void ResetData
(
FBitReader & Src,
int64 CountBits,
int64 CountBitsWithSlack
)