native

GetPackPosition

Syntax

native DataPackPos:GetPackPosition(DataPack:pack);

Description

Returns the datapack read/write position.

Parameters

pack Datapack handle

Return

Position in the datapack, only usable with calls to SetPackPosition

Error

If an invalid handle is provided, an error will be thrown.