Click or drag to resize

ReadOnlyMemoryT Properties

The ReadOnlyMemoryT type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberEmptyGets an empty ReadOnlyMemoryT.
Public propertyIsEmptyGets a value indicating whether this memory is empty.
Public propertyIsNativeGets a value indicating whether this memory is backed by native memory.
Public propertyLengthGets the number of elements in the memory region.
Public propertySpan Gets the span over this memory. Supported only for native-backed (or empty) instances: a managed array cannot be exposed through a raw pointer without pinning it.
Top
See Also