Oh, what a solution! Thanks a lot for this! I'm baffled on how I can't come up with such a cheap (meaning not computing expensive) solution. I guess this seperates programmers, those who can program, and those who can design software.
As I said, I originally tried to represent a byte as end of row. Well to do it, I must check every designated byte for it, using for and if loops, that would have really slow down computing time.
Emm.. just a general question then, is this how people code for binary data, by inputting the sizes of particular row/col first? Are there any other types out there? I'm curious on the designs of binary read/write people can come up with.
Bookmarks