[#UCharSpanCast]
= UCharSpanCast
:mrdocs:

Convert a span to a span of `&lsqb;const&rsqb;unsigned char` viewing the same memory&period;

== Synopsis

Declared in `&lt;span&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    size&lowbar;t N&gt;
constexpr
auto
UCharSpanCast(std::span&lt;T, N&gt; s);
----

== Return Value

A span of `&lsqb;const&rsqb;unsigned char` over the same memory as `s`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The span to reinterpret&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
