mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
I originally defined the bytes() method for the String class, because it made it obvious that it's a span of bytes instead of span of characters. This commit makes this more consistent by defining a bytes() method when the type of the span is known to be u8. Additionaly, the cast operator to Bytes is overloaded for ByteBuffer and such. |
||
|---|---|---|
| .. | ||
| ClientHandshake.cpp | ||
| CMakeLists.txt | ||
| Exchange.cpp | ||
| Handshake.cpp | ||
| Record.cpp | ||
| Socket.cpp | ||
| TLSPacketBuilder.h | ||
| TLSv12.cpp | ||
| TLSv12.h | ||