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

◆ GetCharCount() [1/5]

unsafe override int System.Text.UTF7Encoding.GetCharCount ( byte * bytes,
int count )
inlinevirtual

Reimplemented from System.Text.Encoding.

Definition at line 394 of file UTF7Encoding.cs.

395 {
396 if (bytes == null)
397 {
398 throw new ArgumentNullException("bytes", SR.ArgumentNull_Array);
399 }
400 if (count < 0)
401 {
402 throw new ArgumentOutOfRangeException("count", SR.ArgumentOutOfRange_NeedNonNegNum);
403 }
404 return GetCharCount(bytes, count, null);
405 }
unsafe override int GetCharCount(byte[] bytes, int index, int count)

References System.SR.ArgumentNull_Array, System.SR.ArgumentOutOfRange_NeedNonNegNum, System.bytes, System.count, and System.Text.UTF7Encoding.GetCharCount().