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

◆ GetByteCount() [1/7]

unsafe override int System.Text.EncodingNLS.GetByteCount ( char * chars,
int count )
inlinevirtualinherited

Reimplemented from System.Text.Encoding.

Definition at line 126 of file EncodingNLS.cs.

127 {
128 if (chars == null)
129 {
130 throw new ArgumentNullException("chars", System.SR.ArgumentNull_Array);
131 }
132 if (count < 0)
133 {
134 throw new ArgumentOutOfRangeException("count", System.SR.ArgumentOutOfRange_NeedNonNegNum);
135 }
136 return GetByteCount(chars, count, null);
137 }
static string ArgumentNull_Array
Definition SR.cs:24
static string ArgumentOutOfRange_NeedNonNegNum
Definition SR.cs:32
Definition SR.cs:7
unsafe int GetByteCount(char *chars, int count, System.Text.EncoderNLS encoder)

References System.SR.ArgumentNull_Array, System.SR.ArgumentOutOfRange_NeedNonNegNum, System.chars, System.count, and System.Text.EncodingNLS.GetByteCount().