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

◆ GetChars() [2/7]

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

Reimplemented from System.Text.Decoder.

Definition at line 151 of file DecoderNLS.cs.

152 {
153 if (chars == null || bytes == null)
154 {
155 throw new ArgumentNullException((chars == null) ? "chars" : "bytes", System.SR.ArgumentNull_Array);
156 }
157 if (byteCount < 0 || charCount < 0)
158 {
159 throw new ArgumentOutOfRangeException((byteCount < 0) ? "byteCount" : "charCount", System.SR.ArgumentOutOfRange_NeedNonNegNum);
160 }
162 m_throwOnOverflow = true;
164 }
EncodingNLS m_encoding
Definition DecoderNLS.cs:7
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, System.Runtime.Serialization.Dictionary, System.Text.EncodingNLS.GetChars(), System.Text.DecoderNLS.m_encoding, System.Text.DecoderNLS.m_mustFlush, and System.Text.DecoderNLS.m_throwOnOverflow.