tags:

views:

119

answers:

1
+1  A: 

Short answer for reading file as binary :

specify ios_base::binary when opening file stream.

MSDN Link

YeenFei
That looks fine. But do I have any option to, for example force my `filter` to work only when the corresponding device is in `binary` mode? Or this can't be checked?
HardCoder1986
what are you referring in case of "binary mode devices" ?
YeenFei