pub const END_OF_HEADER: u8 = 0x1a;Expand description
Starting at the beginning of the file, the header details specific information about the file.
CGtag (2 bytes)- version number (2 bytes)
- width of graph (4 bytes)
- height of graph (4 bytes)
END_OF_HEADER
The header has a total of 13 bytes. (12 of info, 1 of `END_OF_HEADER)
Everything after END_OF_HEADER should be another command and its parameters.