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

Name

Description

c

The const std::byte pointer to cast.

Created with MrDocs