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

◆ GetMaxCharCount()

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

Definition at line 720 of file UTF7Encoding.cs.

721 {
722 if (byteCount < 0)
723 {
724 throw new ArgumentOutOfRangeException("byteCount", SR.ArgumentOutOfRange_NeedNonNegNum);
725 }
726 int num = byteCount;
727 if (num == 0)
728 {
729 num = 1;
730 }
731 return num;
732 }

References System.SR.ArgumentOutOfRange_NeedNonNegNum, and System.byteCount.