mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 17:19:13 +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
Notes:
sideshowbarker
2024-07-19 00:44:16 +09:00
Author: https://github.com/awesomekling
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