DataPack < Handle

Last Updated2020-05-08
Created At2014-10-31

A DataPack allows serializing multiple variables into a single stream.

Methods15
SymbolDescription
DataPackCreates a new data pack.
IsReadableReturns whether or not a specified number of bytes from the data pack position to the end can be read.
ReadCellReads a cell from a data pack.
ReadCellArrayReads an array of cells a data pack.
ReadFloatReads a float from a data pack.
ReadFloatArrayReads an array of floats from a data pack.
ReadFunctionReads a function pointer from a data pack.
ReadStringReads a string from a data pack.
ResetResets the position in a data pack.
WriteCellPacks a normal cell into a data pack.
WriteCellArrayPacks an array of cells into a data pack.
WriteFloatPacks a float into a data pack.
WriteFloatArrayPacks an array of floats into a data pack.
WriteFunctionPacks a function pointer into a data pack.
WriteStringPacks a string into a data pack.
Properties1
SymbolTypeDescription
PositionDataPackPosThe read or write position in a data pack.