Hello, I've just noticed that dumpSize is implemented via dumpVector, which can supposedly be overridden to change byte order: https://github.com/lua/lua/blob/0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27/ldump.c#L69 https://github.com/lua/lua/blob/0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27/ldump.c#L33 However, loadSize is implemented via loadUnsigned which is a fixed-order sequence of loadByte's. I suspect you want dumpSize to call dumpBlock, not dumpVector. Sorry if I'm late for reporting this. Best regards, -- DoubleF _______________________________________________ lua-l mailing list -- lua-l@lists.lua.org To unsubscribe send an email to lua-l-leave@lists.lua.org