Wireshark mailing list archives

Re: network byte order


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
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,
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: