MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / byteSpan

Function byteSpan

Tests/Libraries/Http/HttpWebSocketFrameTest.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace
16{
17static SC::Span<char> byteSpan(SC::uint8_t* bytes, SC::size_t size)
18{
19 return SC::Span<char>::reinterpret_bytes(bytes, size);
20}
21
22static SC::Span<const char> byteSpan(const SC::uint8_t* bytes, SC::size_t size)
23{

Callers 3

maskedClientFramesMethod · 0.85
controlFramesMethod · 0.85
invalidFrameRejectionMethod · 0.85

Calls 1

reinterpret_bytesFunction · 0.85

Tested by

no test coverage detected