Boost logo

Boost Users :

From: Robert Bielik (robert.bielik_at_[hidden])
Date: 2008-04-21 08:29:57


Hi all,

I'm trying to make filter to obfuscate some data so its not that obvious what it is. Problem is (I think) that in
some cases, the obfuscator produces a null character as its output, and I'm not sure, but it seems that upon reading
back the data, the null character is interpreted as EOF. At least, that is what I get from boost::iostreams::get(src) at
the position where the null character was in the output. Can I somehow tell the stream that it is binary and not
care about null characters?

TIA
/Rob


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net