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

◆ WriteUInt16()

static unsafe void System.Reflection.BlobUtilities.WriteUInt16 ( this byte[] buffer,
int start,
ushort value )
inlinestatic

Definition at line 58 of file BlobUtilities.cs.

59 {
60 fixed (byte* ptr = &buffer[start])
61 {
62 *ptr = (byte)value;
63 ptr[1] = (byte)(value >> 8);
64 }
65 }

References System.buffer, System.start, and System.value.