native
WritePackString
Syntax
native WritePackString(DataPack:pack, const str[]);
Description
Packs a string into a datapack.
Parameters
| pack | Datapack handle |
|---|---|
| str | String to pack |
Return
Length of copied string
Error
If an invalid handle is provided, an error will be thrown.