Unique Marketing, Guaranteed Results.

Using Ruby Unpack To Save Strings To Integers

April 3rd, 2009 by Aaron Murphy

What does unpack do? It’s used to take a previously packed string of usually binary data and unpack into it’s original binary data. Pack is a method of Array which returns a string. But I wanted to use it to store data in a set of integers.

Read the rest of this entry »


Copyright © 2005-2011 PMA Media Group. All Rights Reserved