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

◆ GetPreamble()

override byte[] System.Text.UTF32Encoding.GetPreamble ( )
inlinevirtual

Reimplemented from System.Text.Encoding.

Definition at line 835 of file UTF32Encoding.cs.

836 {
838 {
839 if (!_bigEndian)
840 {
841 return new byte[4] { 255, 254, 0, 0 };
842 }
843 return new byte[4] { 0, 0, 254, 255 };
844 }
845 return Array.Empty<byte>();
846 }
readonly bool _emitUTF32ByteOrderMark

References System.Text.UTF32Encoding._bigEndian, and System.Text.UTF32Encoding._emitUTF32ByteOrderMark.