LibTLS+Userland: Remove all uses of ByteBuffer::slice_view()

This was another way to get a non-owning ByteBuffer wrapper.
This commit is contained in:
Andreas Kling 2020-12-19 18:19:15 +01:00
commit b30acdb4b7
Notes: sideshowbarker 2024-07-19 00:44:16 +09:00
4 changed files with 21 additions and 21 deletions

View file

@ -579,7 +579,7 @@ void TLSv12::consume(ReadonlyBytes record)
#endif
break;
}
auto consumed = handle_message(m_context.message_buffer.slice_view(index, length));
auto consumed = handle_message(m_context.message_buffer.bytes().slice(index, length));
#ifdef TLS_DEBUG
if (consumed > 0)