Operator explicit operator
explicit operator ReadOnlySpan<T>(ReadOnlyExSpan<T>)
Defines an explicit conversion of a ReadOnlyExSpan<T> to a ReadOnlySpan<T>. The length will saturating limited to the maximum length it supports (定义 ReadOnlyExSpan<T> 到 ReadOnlySpan<T> 的显式转换. 长度会饱和限制为它所支持的最大长度).
public static explicit operator ReadOnlySpan<T>(ReadOnlyExSpan<T> span)
Parameters
span
ReadOnlyExSpan<T>The object to convert (要转换的对象).
Returns
- ReadOnlySpan<T>
- See Also