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