Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Packs (serializes) simple Lua values.
This function behaves the same as Lua 5.3's string.pack.
data = love.data.pack( container, format, v1, ... )
ContainerType container
string format
value v1
value ...
value data
Packing integers with values greater than 2^53 is not supported, as Lua 5.1 cannot represent those values in its number type.