MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / as_bytes_span

Function as_bytes_span

tests/test_message_exchange.cpp:73–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71constexpr const char* TEST_STRING_THREE = "three";
72
73template <typename T> std::span<const std::byte> as_bytes_span(const T& value) {
74 return std::as_bytes(std::span{value});
75}
76} // namespace
77
78class MessageExchangeTest : public ::testing::Test {

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected