[luatex] fio library byte order

Reinhard Kotucha reinhard.kotucha at web.de
Fri Jun 19 23:16:46 CEST 2020

it's nice that with the fio library LuaTeX can now process binary
files.  What I'm missing is the ability to specify the byte order
(little vs. big endian).

I didn't find any hint, neither in the manual nor in the sources.

Without being able to specify the byte order usage of the library is
quite limited.  The byte order of a particular file is not necessarily
the same as that of your system.

Some file formats have a certain byte order (PNM, for instance) and
others precede binary data with a byte order mark (TIFF).  In any case
it's necessary to specify the byte order before reading binary stuff.

Is there a chance to provide a switch?


Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de

More information about the luatex mailing list.