Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
IsValidIndex< T >()
[2/2]
static
bool
System.Text.Encodings.Web.SpanUtility.IsValidIndex<
T
>
(
Span
<
T
>
span
,
int
index
)
inline
static
Definition at line
20
of file
SpanUtility.cs
.
21
{
22
if
((uint)
index
>= (uint)span.Length)
23
{
24
return
false
;
25
}
26
return
true
;
27
}
System.ExceptionArgument.index
@ index
References
System.index
, and
System.Span< T >.Length
.
System
Text
Encodings
Web
SpanUtility
Generated by
1.10.0