native

IsPackEnded

Syntax

native bool:IsPackEnded(DataPack:pack);

Description

Returns if the datapack has reached its end and no more data can be read.

Parameters

pack Datapack handle

Return

True if datapack has reached the end, false otherwise

Error

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