## MemoryMarshal::AsBytes method


Kastar ett [Span](../../../system/span/) av en primitiv typ T till ett [Span](../../../system/span/) av byte.

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

## Se även

* Class [Span](../../../system/span/)
* Class [MemoryMarshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.PDF for C++](../../../)
