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

◆ GetFileName_Windows()

static string System.IO.Compression.ZipArchiveEntry.GetFileName_Windows ( string path)
inlinestaticprivate

Definition at line 1020 of file ZipArchiveEntry.cs.

1021 {
1022 int length = path.Length;
1023 int num = length;
1024 while (--num >= 0)
1025 {
1026 char c = path[num];
1027 if (c == '\\' || c == '/' || c == ':')
1028 {
1029 return path.Substring(num + 1);
1030 }
1031 }
1032 return path;
1033 }

References System.length.

Referenced by System.IO.Compression.ZipArchiveEntry.ParseFileName().