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

◆ GetCharCount() [1/5]

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

Reimplemented from System.Text.Encoding.

Definition at line 247 of file UTF32Encoding.cs.

248 {
249 if (bytes == null)
250 {
251 throw new ArgumentNullException("bytes", SR.ArgumentNull_Array);
252 }
253 if (count < 0)
254 {
255 throw new ArgumentOutOfRangeException("count", SR.ArgumentOutOfRange_NeedNonNegNum);
256 }
257 return GetCharCount(bytes, count, null);
258 }
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.UTF32Encoding.GetCharCount().