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

◆ GetCharCount() [1/5]

unsafe override int System.Text.EncodingNLS.GetCharCount ( byte * bytes,
int count )
inlinevirtualinherited

Reimplemented from System.Text.Encoding.

Definition at line 244 of file EncodingNLS.cs.

245 {
246 if (bytes == null)
247 {
248 throw new ArgumentNullException("bytes", System.SR.ArgumentNull_Array);
249 }
250 if (count < 0)
251 {
252 throw new ArgumentOutOfRangeException("count", System.SR.ArgumentOutOfRange_NeedNonNegNum);
253 }
254 return GetCharCount(bytes, count, null);
255 }
static string ArgumentNull_Array
Definition SR.cs:24
static string ArgumentOutOfRange_NeedNonNegNum
Definition SR.cs:32
Definition SR.cs:7
unsafe int GetCharCount(byte *bytes, int count, System.Text.DecoderNLS decoder)

References System.SR.ArgumentNull_Array, System.SR.ArgumentOutOfRange_NeedNonNegNum, System.bytes, System.count, and System.Text.EncodingNLS.GetCharCount().