What does string.pack and string.unpack mean?

Hey,

I wanna know how string.pack and string.unpack means.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I looked everywhere but cant find anything about it.

Ive seen something like this:

string.pack("h", 3)

string.unpack()

If you know try to tell me! if you dont know its fine! Thanks!

string.pack packs a standard string value into a binary string value and string.unpack unpacks a binary string value into a standard string value. There’s also the related function string.packsize.

string.pack
string.unpack
string.packsize

2 Likes

Okay thank you!

(charrrrrrrrr limit)