String.packsize

From GiderosMobile
Revision as of 05:03, 20 January 2023 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2022.1<br/> '''Class:''' string<br/> === Description === Returns the size in bytes of any string packed with a given description....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2022.1
Class: string

Description

Returns the size in bytes of any string packed with a given description.

(string) = string.packsize(format)
You can't use s and z because they have variable lengths

Parameters

format: (string) the format used to pack the strings

Return values

Returns (number) the pack size