lua-users home
lua-l archive

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


On Wed, Nov 21, 2012 at 03:42:33PM -0500, Jay Carlson wrote:
> > 	x = (string.byte(s, 1) * 256) + string.byte(s, 2)
> 
> I find it comforting somebody else still thinks big-endian.

I assumed network order, given the question...

B.