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

◆ GetByteCount() [1/7]

unsafe override int System.Text.UTF7Encoding.GetByteCount ( char * chars,
int count )
inlinevirtual

Reimplemented from System.Text.Encoding.

Definition at line 282 of file UTF7Encoding.cs.

283 {
284 if (chars == null)
285 {
286 throw new ArgumentNullException("chars", SR.ArgumentNull_Array);
287 }
288 if (count < 0)
289 {
290 throw new ArgumentOutOfRangeException("count", SR.ArgumentOutOfRange_NeedNonNegNum);
291 }
292 return GetByteCount(chars, count, null);
293 }
unsafe override int GetByteCount(char[] chars, int index, int count)

References System.SR.ArgumentNull_Array, System.SR.ArgumentOutOfRange_NeedNonNegNum, System.chars, System.count, and System.Text.UTF7Encoding.GetByteCount().