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

◆ GetOffset()

int System.Index.GetOffset ( int length)
inline

Definition at line 71 of file Index.cs.

72 {
73 int num = _value;
74 if (IsFromEnd)
75 {
76 num += length + 1;
77 }
78 return num;
79 }
bool IsFromEnd
Definition Index.cs:26
readonly int _value
Definition Index.cs:8

References System.Index._value, System.Index.IsFromEnd, and System.length.

Referenced by Internal.Cryptography.PemKeyImportHelpers.ImportEncryptedPem< TPass >(), and Internal.Cryptography.PemKeyImportHelpers.ImportPem().