Convert a span to a span of [const]unsigned char viewing the same memory.
Declared in <span.h>
template<
typename T,
size_t N>
constexpr
auto
UCharSpanCast(std::span<T, N> s);
A span of [const]unsigned char over the same memory as s.
| Name | Description |
|---|---|
| s | The span to reinterpret. |