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

◆ GetChars() [1/6]

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

Reimplemented from System.Text.Encoding.

Definition at line 293 of file EncodingNLS.cs.

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

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