Wireshark-dev: Re: [Wireshark-dev] network byte order
From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Thu, 5 May 2011 20:51:17 +0200
On Thu, May 05, 2011 at 02:39:05PM -0400, Brian Oleksa wrote:
> Before I write my own "bit decoder"...is there any built in functions 
> that will "convert" Little-Endian to Big-Endian for me..??

http://developer.gnome.org/glib/unstable/glib-Byte-Order-Macros.html
You are interested in G*_SWAP_LE_BE macros,