Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Byte Swapping
ekatz1
post Feb 19 2003, 03:45 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 19-February 03
Member No.: 458



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
Go to the top of the page
 
+Quote Post
chrism01
post Feb 22 2003, 08:53 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 22
Joined: 12-February 03
Member No.: 435



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


--------------------
Cheers
Chris
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 01:50 AM