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

◆ WriteThreeLowOrderBytes()

static void System.Convert.WriteThreeLowOrderBytes ( ref byte destination,
int value )
inlinestaticprivate

Definition at line 195 of file Convert.cs.

196 {
197 destination = (byte)(value >> 16);
198 Unsafe.Add(ref destination, 1) = (byte)(value >> 8);
199 Unsafe.Add(ref destination, 2) = (byte)value;
200 }

References System.destination, and System.value.

Referenced by System.Convert.TryDecodeFromUtf16().