Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Preamble
override
ReadOnlySpan
<byte> System.Text.UTF32Encoding.Preamble
get
Definition at line
42
of file
UTF32Encoding.cs
.
43
{
44
get
45
{
46
if
(!(GetType() != typeof(
UTF32Encoding
)))
47
{
48
if
(
_emitUTF32ByteOrderMark
)
49
{
50
if
(
_bigEndian
)
51
{
52
return
new
byte
[4] { 0, 0, 254, 255 };
53
}
54
return
new
byte
[4] { 255, 254, 0, 0 };
55
}
56
return
default
(ReadOnlySpan<byte>);
57
}
58
return
new
ReadOnlySpan<byte>(
GetPreamble
());
59
}
60
}
System.Text.UTF32Encoding.UTF32Encoding
UTF32Encoding()
Definition
UTF32Encoding.cs:62
System.Text.UTF32Encoding._emitUTF32ByteOrderMark
readonly bool _emitUTF32ByteOrderMark
Definition
UTF32Encoding.cs:36
System.Text.UTF32Encoding.GetPreamble
override byte[] GetPreamble()
Definition
UTF32Encoding.cs:835
System.Text.UTF32Encoding._bigEndian
readonly bool _bigEndian
Definition
UTF32Encoding.cs:40
System
Text
UTF32Encoding
Generated by
1.10.0