lua-users home
lua-l archive

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

On 17/11/2013 11.32, Marc Balmer wrote:
How do you deal with I/O of binary data?  Do you use the standard io
functions somehow or did you write your own bindings?

I had no particular need for speed, so I wrote my own binary I/O for n-byte ints in pure Lua (from 5.2 on, it would be more efficient thanks to bitwise ops).