On Thu, Jan 31, 2013 at 12:18:52PM +0100, Laszlo Ersek wrote:
> BTW I wonder if trace files are endianness-dependent by design --
> normally you'd store them in network byte order (= big endian) only and
> use htonX() when writing, an ntohX() when reading.

Yes, they are host endian but the magic number tells you whether they
are in big or little endian.  So if a parser cared it could handle both
endiannesses.

Stefan

Reply via email to