Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Serialization
Inheritance Hierarchy
- FArchiveState
- FArchive
- FBufferWriter
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Serialization/BufferWriter.h |
Include | #include "Serialization/BufferWriter.h" |
Syntax
class FBufferWriter : public FArchive
Remarks
Similar to FMemoryWriter, but able to internally manage the memory for the buffer.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bAllowResize | |
![]() |
bool | bFreeOnClose | |
![]() |
void * | WriterData | |
![]() |
int64 | WriterPos | |
![]() |
int64 | WriterSize |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FBufferWriter
(
void* Data, |
Constructor |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void * |
Overridden from FArchive
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Close () |
Attempts to close and finalize any handles used for backing data storage, returns true if it succeeded. |
![]() ![]() |
void | Seek
(
int64 InPos |
Attempts to set the current offset into backing data storage, this will do nothing if there is no storage. |
![]() ![]() |
void | Serialize
(
void* Data, |
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. |
![]() ![]() ![]() |
FString | Returns the name of the Archive. | |
![]() ![]() |
int64 | Tell () |
Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location. |
![]() ![]() |
int64 | TotalSize () |
Returns total size of the backing data storage. |