Class MemoryMarshalHelper
MemoryMarshal helper.
public static class MemoryMarshalHelper
- Inheritance
-
MemoryMarshalHelper
- Inherited Members
Methods
- CreateReadOnlySpanSaturating<T>(ref T, nint)
[Saturating] Creates a new read-only span over a portion of a regular managed object.
- CreateSpanSaturating<T>(ref T, nint)
[Saturating] Creates a new span over a portion of a regular managed object.
- GetSpanSaturatingLength(nint)
Get the saturating length of the span (取得跨度的饱和长度).