From: Minxing Liu Date: 2007-02-08T11:13:11+09:00 Subject: How to manipulate binary file ------=_Part_14563_5905035.1170900788942 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I love Ruby very much and now Ruby is my first language.But now I meet a problem on Ruby.I want to do as follows: 1:Open a file in binary mode 2:Shift the bit in a algorithm 3:Save the file I don't know how to shift the bit stream in Ruby.Can any one give me an advice??? ------=_Part_14563_5905035.1170900788942--