We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,956 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

How and in what situation Ruby pack() methods need to use with directives?

Could you please tell me how the below directives works with Ruby array pack() method. As the document not gives piece of code to describe what to use , when?

n,v,U,w,L!<,S!< I!<

thanks

2
Contributors
1
Reply
4 Hours
Discussion Span
4 Months Ago
Last Updated
2
Views
arupface
Newbie Poster
16 posts since Jan 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Do you know big/little endian? It is about using template from the most/least significant bits. If you don't know, you may not need to do anything with it. Also, pack() function is not really common for regular programming, so you could ignore it.

Taywin
Posting Maven
2,633 posts since Apr 2010
Reputation Points: 275
Solved Threads: 375
Skill Endorsements: 17

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.5087 seconds using 2.64MB