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

◆ GetCharCount() [1/5]

unsafe override int System.Text.UnicodeEncoding.GetCharCount ( byte * bytes,
int count )
inlinevirtual

Reimplemented from System.Text.Encoding.

Definition at line 260 of file UnicodeEncoding.cs.

261 {
262 if (bytes == null)
263 {
264 throw new ArgumentNullException("bytes", SR.ArgumentNull_Array);
265 }
266 if (count < 0)
267 {
268 throw new ArgumentOutOfRangeException("count", SR.ArgumentOutOfRange_NeedNonNegNum);
269 }
270 return GetCharCount(bytes, count, null);
271 }
unsafe override int GetCharCount(byte[] bytes, int index, int count)

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