Please better document the string pack functions

As a Roblox developer, I would like to see more thorough documentation on the string pack functions

These functions are

  • pack
  • packsize
  • unpack

These functions are already listed under the string library page, however the format argument is left undocumented. This is contrary to the other string features; formatting and patterns.

I believe these 3 functions also deserve documentation on the pack format.

For reference, I’ve left the documentation here a while ago: Missing documentation for string.pack, string.unpack and string.packsize - #7 by metatablecatmaid

3 Likes

Hi there,
I added links out to the Lua docs for the format strings as a further reference (I opted to link out instead of duplicating the entire table into the Roblox docs, considering the sheer amount of format strings vs. how often they are likely used).

Take care,
IgnisRBX