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:
parent
d5600e966a
commit
b30acdb4b7
4 changed files with 21 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue