• Returns the values packed in string s (see string.pack) according to the format string fmt. An optional pos marks where to start reading in s (default is 1). After the read values, this function also returns the index of the first unread byte in s.

    Parameters

    • fmt: string
    • s: string
    • Optional pos: number

    Returns LuaTuple<unknown[]>