lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Why string.pack does not support `c0` format?

I  think  `s  =  string.pack("...c0c0c0",  ...,  s1,  s2, s3)` is more
convenient than `s = string.pack("...", ...) .. s1 .. s2 .. s3`

And I agree that for unpack this format does not make sense.


---
Это сообщение свободно от вирусов и вредоносного ПО благодаря защите от вирусов avast!
http://www.avast.com