32 for (
const char* i = whitespaces; *i !=
'\0'; ++i) {
33 m_isWhitespace.set(*i);
38 StripSpace::convert(span<const uint8_t> data)
40 auto buffer = make_unique<OBuffer>();
41 buffer->reserve(data.size());
43 for (
auto ch : data) {
44 if (!m_isWhitespace[ch]) {
45 buffer->push_back(ch);
56 return make_unique<StripSpace>(whitespaces);