Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IndexOfByOffset()

static int System.Security.Cryptography.PemEncoding.IndexOfByOffset ( this ReadOnlySpan< char > str,
ReadOnlySpan< char > value,
int startPosition )
inlinestaticprivate

Definition at line 86 of file PemEncoding.cs.

87 {
88 int num = str.Slice(startPosition).IndexOf(value);
89 if (num != -1)
90 {
91 return num + startPosition;
92 }
93 return -1;
94 }

References System.str, and System.value.