[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: endianness of lua bytecode?
- From: Fabio Mascarenhas <mascarenhas@...>
- Date: Mon, 1 Nov 2004 18:13:41 -0200
They have the endianess of the machine where you're dumping them.
luaU_dump stores a byte that indicates the machine's endianess along
with the bytecodes, so luaU_undump can adjust, if the endianess of the
machine where you are reading the bytecodes is different. Check
ldump.c and lundump.c if you are curious.
On Mon, 1 Nov 2004 10:30:40 -0800, Ando Sonenblick <firstname.lastname@example.org> wrote:
> Does lua's byte code have an endianness? Or is it really all in 8-bit
> Ando Sonenblick
> SpriTec Software