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.
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.