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

◆ DecrementEscapeBytes()

byte System.Text.ISO2022Encoding.DecrementEscapeBytes ( ref byte[] bytes,
ref int count )
inlineprivate

Definition at line 826 of file ISO2022Encoding.cs.

827 {
828 count--;
829 byte result = bytes[0];
830 for (int i = 0; i < count; i++)
831 {
832 bytes[i] = bytes[i + 1];
833 }
834 bytes[count] = 0;
835 return result;
836 }

References System.bytes, and System.count.

Referenced by System.Text.ISO2022Encoding.GetCharsCP50225KR(), and System.Text.ISO2022Encoding.GetCharsCP5022xJP().