MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / GetBuffer

Method GetBuffer

tests/unit_test/mocks/io_buffer_mock.cpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40auto IoBuffer::GetBuffer() const -> std::span<const uint8_t> {
41 return {data_, size_};
42}
43
44auto IoBuffer::GetBuffer() -> std::span<uint8_t> { return {data_, size_}; }
45

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected