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

◆ GetMaxCharCount()

override int System.Text.Latin1Encoding.GetMaxCharCount ( int byteCount)
inlineinherited

Definition at line 283 of file Latin1Encoding.cs.

284 {
285 if (byteCount < 0)
286 {
287 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.byteCount, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
288 }
289 return byteCount;
290 }

References System.byteCount, and System.ThrowHelper.ThrowArgumentOutOfRangeException().