Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Gets the size in bytes that a given format used with love.data.pack will use.
This function behaves the same as Lua 5.3's string.packsize.
size = love.data.getPackedSize( format )
string format
number size
The format string cannot have the variable-length options 's' or 'z'.