System.Text.UTF8Encoding.GetMaxCharCount C# (CSharp) 메소드

GetMaxCharCount() 공개 메소드

public GetMaxCharCount ( int byteCount ) : int
byteCount int
리턴 int
        public override int GetMaxCharCount(int byteCount)
        {
            throw null;
        }

Usage Example

예제 #1
0
 public void NegTest1()
 {
     UTF8Encoding utf8 = new UTF8Encoding();
     int byteCount = -1;
     Assert.Throws<ArgumentOutOfRangeException>(() =>
     {
         int maxCharCount = utf8.GetMaxCharCount(byteCount);
     });
 }
All Usage Examples Of System.Text.UTF8Encoding::GetMaxCharCount