Method ThrowByLength
- Namespace
 - Zyl.ExSpans.Exceptions
 
- Assembly
 - ExSpans.Core.dll
 
ThrowByLength(nint, string?)
Throw exceptions constructed from length (抛出根据长度构造的异常).
public static void ThrowByLength(nint length, string? memberName = null)
Parameters
Exceptions
- ExSpanTooLongException
 Alway throws exception.