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

◆ GetFourBytesOffset()

int System.Text.GB18030Encoding.GetFourBytesOffset ( short offset1,
short offset2,
short offset3,
short offset4 )
inlinepackage

Definition at line 282 of file GB18030Encoding.cs.

283 {
284 return (offset1 - 129) * 10 * 126 * 10 + (offset2 - 48) * 126 * 10 + (offset3 - 129) * 10 + offset4 - 48;
285 }

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