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

◆ GetChars() [1/6]

unsafe override int System.Text.UTF32Encoding.GetChars ( byte * bytes,
int byteCount,
char * chars,
int charCount )
inlinevirtual

Reimplemented from System.Text.Encoding.

Definition at line 293 of file UTF32Encoding.cs.

294 {
295 if (bytes == null || chars == null)
296 {
297 throw new ArgumentNullException((bytes == null) ? "bytes" : "chars", SR.ArgumentNull_Array);
298 }
299 if (charCount < 0 || byteCount < 0)
300 {
301 throw new ArgumentOutOfRangeException((charCount < 0) ? "charCount" : "byteCount", SR.ArgumentOutOfRange_NeedNonNegNum);
302 }
303 return GetChars(bytes, byteCount, chars, charCount, null);
304 }
unsafe override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)

References System.SR.ArgumentNull_Array, System.SR.ArgumentOutOfRange_NeedNonNegNum, System.byteCount, System.bytes, System.charCount, System.chars, and System.Text.UTF32Encoding.GetChars().