System.Text.ISO2022Encoding.GetCharCount C# (CSharp) Метод

GetCharCount() приватный Метод

private GetCharCount ( byte bytes, int count, DecoderNLS baseDecoder ) : int
bytes byte
count int
baseDecoder DecoderNLS
Результат int
        public unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
        {
            // Just assert, we're called internally so these should be safe, checked already
            Debug.Assert(bytes != null, "[ISO2022Encoding.GetCharCount]bytes is null");
            Debug.Assert(count >= 0, "[ISO2022Encoding.GetCharCount]byteCount is negative");

            // Just call getChars with null char* to get count
            return GetChars(bytes, count, null, 0, baseDecoder);
        }