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

◆ GetMaxCharCount()

override int System.Text.BinHexEncoding.GetMaxCharCount ( int byteCount)
inline

Definition at line 70 of file BinHexEncoding.cs.

71 {
72 if (byteCount < 0 || byteCount > 1073741823)
73 {
74 throw new ArgumentOutOfRangeException("byteCount", System.SR.Format(System.SR.ValueMustBeInRange, 0, 1073741823));
75 }
76 return byteCount * 2;
77 }
static string ValueMustBeInRange
Definition SR.cs:326
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.byteCount, System.SR.Format(), and System.SR.ValueMustBeInRange.

Referenced by System.Text.BinHexEncoding.GetCharCount().