IsPackReadable

Syntax

native bool:IsPackReadable(DataPack:pack, bytes);

Usage

pack
Handle to the data pack.
bytes
Number of bytes to simulate reading.

Description

Returns whether or not a specified number of bytes from the data pack
 position to the end can be read.

Return

True if can be read, false otherwise.

Error

Invalid handle.