UCharCast

Reinterpret a const std::byte pointer as a const unsigned char pointer.

Synopsis

Declared in <span.h>

unsigned char const*
UCharCast(std::byte const* c);

Return Value

The same address typed as a const unsigned char pointer.

Parameters

NameDescription
cThe const std::byte pointer to cast.