## MemoryMarshal::AsBytes method


Convierte un [Span](../../../system/span/) de un tipo primitivo T a un [Span](../../../system/span/) de bytes.

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

## Ver también

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