From: RLMuller Date: 2003-09-08T12:47:01+09:00 Subject: Read files at the byte level - how to? This is a multi-part message in MIME format. ------=_NextPart_000_0091_01C3759A.1DBD6270 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi All, I want to use Ruby to compare two Zip files to test whether they are = identical. Accordingly, I want to read at the byte level, but I only = see methods to read strings, i.e. gets, readline and readlines. Is there a way to do what I want to do? Is there an example somewhere = on the Web? Thanks in advance. Regards, Richard A programmer is a device for turning coffee into code. Jeff Prosise (with an assist from Paul Erdos) ------=_NextPart_000_0091_01C3759A.1DBD6270 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hi All,
 
I want to use Ruby to compare two Zip files to test = whether=20 they are identical.  Accordingly,  I want to read at the byte = level,=20 but I only see methods to read strings, i.e. gets, readline and=20 readlines.
 
Is there a way to do what I want to do?  Is = there an=20 example somewhere on the Web?
 
Thanks in advance.
 
Regards,
Richard
 
A programmer is a device for turning coffee into = code.
Jeff=20 Prosise (with an assist from Paul Erdos)
------=_NextPart_000_0091_01C3759A.1DBD6270--