Top "Pack" questions

A function in several scripting languages for packing data, creating a sequence of specifically ordered and aligned bytes, into a binary structure.

How can I convert a 48 hex string to bytes using Perl?

I have a hex string (length 48 chars) that I want to convert to raw bytes with the pack function in …

perl pack
python pack() and grid() methods together

Im new to python so please forgive my Noob-ness. Im trying to create a status bar at the bottom of …

python grid tkinter pack
pack/unpack functions for C++

NOTE: I know that this has been asked many times before, but none of the questions have had a link …

c++ serialization pack unpack
When would you use unpack('h*' ...) or pack('h*' ...)?

In Perl, pack and unpack have two templates for converting bytes to/from hex: h    A hex string (low nybble …

perl hex pack unpack
How to add the "Action Bar Icon Pack" to Android Studio

I've just downloaded the Action Bar Icon Pack from https://developer.android.com/design/downloads/index.html, and I've not …

android icons pack
Python struct.pack() for individual elements in a list?

I would like to pack all the data in a list into a single buffer to send over a UDP …

python list struct udp pack
pragma pack(1) nor __attribute__ ((aligned (1))) works

My code used to work in the past, but now the struct size suddenly is 16 bytes. It used to be 13 …

xcode4 llvm pragma pack
Ruby's pack and unpack explained

Even after reading the standard documentation, I still can't understand how Ruby's Array#pack and String#unpack exactly work. Here …

ruby pack
How to switch byte order of binary data

I have a binary file which I'm reading where some 2 byte values are stored in 'reverse' byte order (little endian?), …

python struct pack
Is there anyway to "pack" a JPanel?

Is there any thing I can do to make my JPanel pack like a JFrame, or do something like that. …

java jframe jpanel dimensions pack