Using boost::iostreams to parse a binary file byte by byte
- by Zsol
So I would like to parse a binary file and extract some data from it. The problem I am facing with this is that I need to convert a stream of chars to a stream of unsigned chars.
Reading the boost documentation, it seems that boost::iostreams::code_converter should be the solution for this, so I tried this:
typedef unsigned char uint8_t;
typedef…