System::Runtime::InteropServices::MemoryMarshal::AsBytes method

MemoryMarshal::AsBytes method

Casts a Span of one primitive type T to Span of bytes.

template<typename T> static Span<uint8_t> System::Runtime::InteropServices::MemoryMarshal::AsBytes(const Span<T> &span)

See Also