• Returns the size of a string resulting from string.pack with the given format. The format string cannot have the variable-length options 's' or 'z'.

    Parameters

    • fmt: string

      The format string to check

    Returns number