IsPackReadable Function

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

bool IsPackReadable(Handle pack, int bytes)

Parameters

Handle pack

Handle to the data pack.

int bytes

Number of bytes to simulate reading.

Return Value

True if can be read, false otherwise.

Errors

Invalid handle.