I'm writing some networking code and would like to send an int as a sequence of binary bytes (not as a string). A socket:write(25) call appears to send the string '25'. In regular Lua I would use the struct module to convert 25 into bytes and then send that, however it seems as if many of the standard libraries don't exist with luvit. What's a poor engineer to do?
Thanks, Wes -- You received this message because you are subscribed to the Google Groups "luvit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
