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

◆ WriteUInt16BE()

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

Definition at line 67 of file BlobUtilities.cs.

68 {
69 fixed (byte* ptr = &buffer[start])
70 {
71 *ptr = (byte)(value >> 8);
72 ptr[1] = (byte)value;
73 }
74 }

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