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

◆ WriteUInt32()

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

Definition at line 87 of file BlobUtilities.cs.

88 {
89 fixed (byte* ptr = &buffer[start])
90 {
91 *ptr = (byte)value;
92 ptr[1] = (byte)(value >> 8);
93 ptr[2] = (byte)(value >> 16);
94 ptr[3] = (byte)(value >> 24);
95 }
96 }

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