native
ResetPack
Syntax
native ResetPack(DataPack:pack, bool:clear = false);
Description
Resets the datapack read/write position to the start.
Parameters
| pack | Datapack handle |
|---|---|
| clear | If true, clears the contained data |
Return
This function has no return value.
Error
If an invalid handle is provided, an error will be thrown.