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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.