The reason I don't want to use a string is because the data is binary and may have null characters.
The reason I don't want to use a string is because the data is binary and may have null characters.
Try
May be what you're looking forCode:struct s { vector<char> b; };
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry