System.Text.GB18030Encoding.GetCharCount C# (CSharp) Method

GetCharCount() private method

private GetCharCount ( byte bytes, int count, DecoderNLS baseDecoder ) : int
bytes byte
count int
baseDecoder DecoderNLS
return int
        public unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
        {
            // Just call GetChars() with null chars to count
            return GetChars(bytes, count, null, 0, baseDecoder);
        }