Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
InternalEncoderBestFitFallback.cs
Go to the documentation of this file.
2
3namespace System.Text;
4
6{
8
9 internal char[] arrayBestFit;
10
11 public override int MaxCharCount => 1;
12
14 {
15 encoding = _encoding;
16 }
17
22
23 public override bool Equals([NotNullWhen(true)] object value)
24 {
25 if (value is InternalEncoderBestFitFallback internalEncoderBestFitFallback)
26 {
27 return encoding.CodePage == internalEncoderBestFitFallback.encoding.CodePage;
28 }
29 return false;
30 }
31
32 public override int GetHashCode()
33 {
34 return encoding.CodePage;
35 }
36}
virtual int CodePage
Definition Encoding.cs:515
InternalEncoderBestFitFallback(BaseCodePageEncoding _encoding)
override bool Equals([NotNullWhen(true)] object value)