30 for (
const char* i = whitespaces; *i !=
'\0'; ++i) {
31 m_isWhitespace.set(*i);
36 StripSpace::convert(span<const uint8_t> data)
38 auto buffer = make_unique<OBuffer>();
39 buffer->reserve(data.size());
41 for (
auto ch : data) {
42 if (!m_isWhitespace[ch]) {
43 buffer->push_back(ch);
54 return make_unique<StripSpace>(whitespaces);