Boost logo

Boost Users :

From: Pavol Droba (droba_at_[hidden])
Date: 2005-06-28 12:07:28


Hi,

On Tue, Jun 28, 2005 at 04:21:51PM +0200, Leon Mergen wrote:
> Hello,
>
> 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.

Regards,
Pavol


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