29 Jun
2005
29 Jun
'05
10:34 a.m.
On Tue, 2005-06-28 at 19:07 +0200, Pavol Droba wrote:
I need to replace patterns in a string with contains (partially) binary data. Is it safe to use the Boost string algorithms for it ? I wasn't able to find anything about binary-safety of the string algorithms in the Boost documentation. Boost.StringAlgo does not perform any string specific processing on the input. So you can safely use them on binary data. There is actualy also an example of simple rle compression using string algorithms. You can find it in boost/libs/algorithm/string/example/ directory.
Ok, thanks for the information! Regards, Leon Mergen