Table of Contents

Operator explicit operator

Namespace
Zyl.ExSpans
Assembly
ExSpans.Core.dll

explicit operator Span<T>(ExSpan<T>)

Defines an explicit conversion of a ExSpan<T> to a Span<T>. The length will saturating limited to the maximum length it supports (定义 ExSpan<T>Span<T> 的显式转换. 长度会饱和限制为它所支持的最大长度).

public static explicit operator Span<T>(ExSpan<T> span)

Parameters

span ExSpan<T>

The object to convert (要转换的对象).

Returns

Span<T>
See Also