From: Laurent Sansonetti Date: 2003-05-06T16:29:26+09:00 Subject: Re: [Q] Binary data Hi Daniel ;-) Daniel Carrera wrote: > Is it possible to store and manipulate binary data in Ruby? > As in the actual sequence of 1's and 0's. I'm curious in the > data-compression problem, but to be able to do any compression on a Ruby > string I need to be able to manipulate data at the bit level. You should have a look at the following methods: Array#pack String#unpack Hope this helps, -- Laurent