103 std::optional<std::string_view>
addByte(uint8_t
byte)
105 const char ch =
static_cast<char>(byte);
107 if (_active && !_discard) {
114 std::optional<std::string_view> line;
115 if (_active && !_discard && _size > 0) {
116 line = std::string_view(_buffer.data(), _size);
122 if (_startsLine(ch)) {
133 if (_lineEnded || ch <
' ' || ch >
'~' || _size == _buffer.size()) {