[OmniOS-discuss] java : feca beba : endian problem?

Jim Klimov jimklimov at cos.ru
Fri Nov 1 12:36:46 UTC 2013


On 2013-10-31 23:13, Mayuresh Kathe wrote:
> i checked on openbsd running on x86-64, the header is still
> the same, "fecabeba".
> as per the material i've read on java, it should always be,
> "cafebabe".
> am i doing something wrong somewhere?

As a wild guess, this magic number allows the system to set up
its file-reading routines in such a way that the number would
resolve to a predefined value? I.e. if it differs, the parser
should try different endianness/byteswap filters?

//Jim



More information about the OmniOS-discuss mailing list