MCPcopy Create free account
hub / github.com/ddnet/ddnet / uint_to_bytes_be

Function uint_to_bytes_be

src/base/bytes.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void uint_to_bytes_be(unsigned char *bytes, unsigned value)
41{
42 bytes[0] = (value >> 24u) & 0xffu;
43 bytes[1] = (value >> 16u) & 0xffu;
44 bytes[2] = (value >> 8u) & 0xffu;
45 bytes[3] = value & 0xffu;
46}

Callers 10

HandleChecksumMethod · 0.85
StopMethod · 0.85
ToUuidMethod · 0.85
GetExternalItemTypeMethod · 0.85
StartMethod · 0.85
WriteTickMarkerMethod · 0.85
StopMethod · 0.85
WriteSecurityTokenFunction · 0.85
UpdateDebugDummiesMethod · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68