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