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

Method data

src/ipc/message_exchange.cpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40[[nodiscard]] const std::byte* StringBlock::data() const noexcept {
41 // Note: reinterpret_cast is necessary here for pointer conversion from
42 // const char* (std::string::data()) to const std::byte*. std::bit_cast
43 // cannot be used for pointer-to-pointer conversions, only for value
44 // conversions of same-sized types. Using std::byte* for semantic clarity
45 // that this is raw byte storage.
46 return reinterpret_cast<const std::byte*>(data_.data());
47}
48
49MessageDecoder::MessageDecoder(ITransport& transport) : transport_{transport} {}
50

Callers 7

normalize_to_rgba8Function · 0.45
export_octaveFunction · 0.45
normalize_to_rgba8_implFunction · 0.45
chunkMethod · 0.45
sendMethod · 0.45
receiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected