Luke Gorrie <lukego@xxxxxxxxx> wrote: > I'm using LuaJIT's FFI to access things like ethernet frames as if they > were C structures, and I'm wondering what the best way to take care of > endian conversion is. http://commandcenter.blogspot.co.uk/2012/04/byte-order-fallacy.html Tony. -- f.anthony.n.finch <dot@xxxxxxxx> http://dotat.at/ Northwest Rockall: Southwesterly 3 or 4, increasing 5 or 6 later. Moderate. Fair then rain. Moderate or good.