Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3324
| From | 7stud -- <bbxx789_05ss@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Binary file: SAT |
| Date | 2011-04-21 12:25 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <b1b002b0b933deeeb92ca664c4f7b79f@ruby-forum.com> (permalink) |
| References | <f82185e10f19c74e1962c03aeccd4771@ruby-forum.com> <4fa8adc3b92c44287a399f6cb1aab3ff@ruby-forum.com> <e003a225f227d13a192196cfde414b7c@ruby-forum.com> <BANLkTimZvkXz=7bTAcdnwdU2AsH6MzYd8w@mail.gmail.com> <2cddb6943b03d69eca28d3dffeba1374@ruby-forum.com> |
Alessandro Barracco wrote in post #994230: > Thanx you all. I'm beginning to understand a bit.... > > These are the first 20 lines of the binary-block in the file: > Binary files aren't human readable, i.e. they look like nonsense. > > It consists of pairs of lines: the first is a code (always 1), the > second is the data. Do not think of binary files as containing lines. A binary file is a long continuous sequence of bytes. And you have to know exactly what each byte means to read the data. For instance, you have to know that the first 4 bytes is the count of banks in New York, and the next byte is a letter, and the next 2 bytes is the year, and the next 2 bytes is the month, etc. -- Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Binary file: SAT Alessandro Barracco <bomastudio@gmail.com> - 2011-04-20 17:00 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-20 19:02 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-20 19:45 -0500
Re: Binary file: SAT Roger Braun <roger@rogerbraun.net> - 2011-04-20 21:53 -0500
Re: Binary file: SAT Alessandro Barracco <bomastudio@gmail.com> - 2011-04-21 03:06 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-21 12:25 -0500
Re: Binary file: SAT Alessandro Barracco <bomastudio@gmail.com> - 2011-04-22 04:51 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-22 13:49 -0500
Re: Binary file: SAT William Rutiser <wruyahoo05@comcast.net> - 2011-04-23 13:20 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-21 12:53 -0500
csiph-web