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

◆ WriteUInt32BE()

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

Definition at line 76 of file BlobUtilities.cs.

77 {
78 fixed (byte* ptr = &buffer[start])
79 {
80 *ptr = (byte)(value >> 24);
81 ptr[1] = (byte)(value >> 16);
82 ptr[2] = (byte)(value >> 8);
83 ptr[3] = (byte)value;
84 }
85 }

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