Navigation
API > API/Plugins > API/Plugins/OnlineBase > API/Plugins/OnlineBase/Online
Inheritance Hierarchy
- FNboSerializeFromBuffer
- FNboSerializeFromBufferOSS
References
| Module | OnlineBase |
| Header | /Engine/Plugins/Online/OnlineBase/Source/Public/Online/NboSerializer.h |
| Include | #include "Online/NboSerializer.h" |
Syntax
class FNboSerializeFromBuffer
Remarks
Class used to read data from a NBO data buffer
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHasOverflowed | Indicates whether reading from the buffer caused an overflow or not | |
| int32 | CurrentOffset | The current location in the byte stream for reading | |
| const uint8 * | Data | Pointer to the data this reader is attached to | |
| const int32 | NumBytes | The size of the data in bytes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Hidden on purpose | |||
| Hidden on purpose | |||
FNboSerializeFromBuffer
(
const uint8* InData, |
Initializes the buffer, size, and zeros the read offset | ||
FNboSerializeFromBuffer
(
const uint8* InData, |
Initializes the buffer, size, and zeros the read offset |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | |||
| int32 | |||
| int32 | Returns the number of total bytes in the buffer | ||
| int32 | Returns the number of total bytes in the buffer | ||
| bool | HasOverflow () |
Returns whether the buffer had an overflow when reading from it | |
| bool | HasOverflow () |
Returns whether the buffer had an overflow when reading from it | |
| void | ReadBinary
(
uint8* OutBuffer, |
Reads a blob of data from the buffer | |
| void | ReadBinary
(
uint8* OutBuffer, |
Reads a blob of data from the buffer | |
| void | ReadBinaryArray
(
TArray< uint8 >& OutArray, |
Reads a blob of data from the buffer into an array Prevents the necessity for additional allocation. | |
| void | Seek
(
int32 Pos |
Seek to the desired position in the buffer | |
| void | Seek
(
int32 Pos |
Seek to the desired position in the buffer | |
| int32 | Tell () |
||
| int32 | Tell () |