Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
uint8_t readUint8(Istream &is)
Read uint8_t from stream.