Original Post
Hello everyone, I've got an ethernet device that duplicates 0xFF values when being sent though it. So when I recieve data from it I needs to remove duplicate 0xFF values. I know I could right a crude string manipulation algo to do this but I was hoping to accomplish this with the boost algorithm replace_all. I've been trying to play around with it and it does let me do what I want. Any suggestions on what I might try? CommWinsock2::readLine(buff,length); boost::algorithm::replace_all(buff,0xFF+0xFF,(unsigned char)0xFF); Thanks in advance.