Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Is4Byte()

unsafe bool System.Text.GB18030Encoding.Is4Byte ( char charTest)
inlinepackage

Definition at line 131 of file GB18030Encoding.cs.

132 {
133 byte b = mapUnicodeTo4BytesFlags[charTest / 8];
134 if (b != 0)
135 {
136 return (b & (1 << charTest % 8)) != 0;
137 }
138 return false;
139 }
unsafe byte * mapUnicodeTo4BytesFlags

References System.Text.GB18030Encoding.mapUnicodeTo4BytesFlags.

Referenced by System.Text.GB18030Encoding.GetBytes().