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

◆ GetByteCount() [1/7]

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

Reimplemented from System.Text.Encoding.

Definition at line 135 of file UTF32Encoding.cs.

136 {
137 if (chars == null)
138 {
139 throw new ArgumentNullException("chars", SR.ArgumentNull_Array);
140 }
141 if (count < 0)
142 {
143 throw new ArgumentOutOfRangeException("count", SR.ArgumentOutOfRange_NeedNonNegNum);
144 }
145 return GetByteCount(chars, count, null);
146 }
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.UTF32Encoding.GetByteCount().