| 104 | namespace { |
| 105 | |
| 106 | BufferSpan PackVariadicBuffers(std::span<const std::shared_ptr<Buffer>> buffers) { |
| 107 | return {const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(buffers.data())), |
| 108 | static_cast<int64_t>(buffers.size() * sizeof(std::shared_ptr<Buffer>))}; |
| 109 | } |
| 110 | |
| 111 | } // namespace |
| 112 |
no test coverage detected