System::Runtime::InteropServices::MemoryMarshal::Cast method

MemoryMarshal::Cast method

Casts a Span of one primitive type TFrom to another primitive type TTo.

template<typename TFrom,typename TTo> static Span<TTo> System::Runtime::InteropServices::MemoryMarshal::Cast(const Span<TFrom> &span)

See Also