https://learn.microsoft.com/ko-kr/dotnet/api/system.text.encoding.getcharcount?view=netframework-4.8.1&viewFallbackFrom=net-9.0
Encoding.GetCharCount Method (System.Text) | Microsoft Learn
When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes.
encodingmethodsystemtextmicrosoft