| 251 | // From C++20 as_bytes and as_writeable_bytes |
| 252 | template <typename T> |
| 253 | Span<const std::byte> AsBytes(Span<T> s) noexcept |
| 254 | { |
| 255 | return {BytePtr(s.data()), s.size_bytes()}; |
| 256 | } |
| 257 | template <typename T> |
| 258 | Span<std::byte> AsWritableBytes(Span<T> s) noexcept |
| 259 | { |
no test coverage detected