1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:17:44 +00:00

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
parent d5600e966a
commit b30acdb4b7
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)