Help - Search - Members - Calendar
Full Version: Byte Swapping
Linuxhelp > Support > Technical Support
ekatz1
Hi,
I'm looking for an easy to use program that can convert from little endian byte order to big endian byte order. I've looked around the internet, but I can't get anything to work. I'm still new to all of this and get confused/frustrated easily sad.gif Any help would be great!!

Thanks,
Elyse
chrism01
You copuld try the 'pack()' fn in Perl, You can specify endian order eg
n = short in network/big endian
N = long " " " "
v= short in little endian
V = long " " "
see also unpack()

HTH
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.