Originally Posted by manasij7479 This works, but I couldn't get it working with any sort of streams. You need to instantiate unsigned char streams like basic_ifstream<unsigned char>, which also require char_traits.
http://kmedwecki.com/