DataPack Class

A DataPack allows serializing multiple variables into a single stream.

Methods 11

Name Description
DataPack

Creates a new data pack.

IsReadable

Returns whether or not a specified number of bytes from the data pack position to the end can be read.

ReadCell

Reads a cell from a data pack.

ReadFloat

Reads a float from a data pack.

ReadFunction

Reads a function pointer from a data pack.

ReadString

Reads a string from a data pack.

Reset

Resets the position in a data pack.

WriteCell

Packs a normal cell into a data pack.

WriteFloat

Packs a float into a data pack.

WriteFunction

Packs a function pointer into a data pack.

WriteString

Packs a string into a data pack.

Properties 1

Name Type Description
PositionDataPackPos

The read or write position in a data pack.