ReadPackString

Синтаксис

native ReadPackString(DataPack:pack, buffer[], maxlen);

Употреба

pack
Datapack handle
buffer
Buffer to copy string to
maxlen
Maximum size of buffer

Описание

Reads a string from a Datapack.

Връщаща стойност

Number of cells written to buffer

Грешка

If an invalid handle is provided, or not enough data is left
in the datapack, an error will be thrown.