UCharCast

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

Synopsis

Declared in <span.h>

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

Return Value

The same address typed as an unsigned char pointer.

Parameters

NameDescription
cThe std::byte pointer to cast.