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

◆ GetBytes() [11/11]

static byte[] System.BitConverter.GetBytes ( ushort value)
inlinestatic

Definition at line 98 of file BitConverter.cs.

99 {
100 byte[] array = new byte[2];
101 Unsafe.As<byte, ushort>(ref array[0]) = value;
102 return array;
103 }

References System.array, and System.value.