
Some days ago I was writing a program that needed to parse a truetype font. I found that there is no class to fill a structure from a stream. So I wrote one myself. Basically, if you only want to read/write a structure with the following condition: 1) All data is stored in fields 2) All data is primitive type
|