Little endian to big endian conversion ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is someone aware of a tool that converts data from
little endian mode to big endian mode? I know that
there are macros like "htonl" and "htons", but what
I'm looking for is a tool, that automatically
generates the packing routines, given the structure
declaration.

Basically I want applications to not worry about
packing their data, as long as they want to transfer a
fixed set of structures. This common layer is supposed
to offload this chore from application.

Just wanted to check before I try to reinvent the
wheel.

TIA.
Tom

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux