MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / put32

Method put32

src/flightRecorder.cpp:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 void put32(int v) {
120 *(int*)(_data + _offset) = htonl(v);
121 _offset += 4;
122 }
123
124 void put64(u64 v) {
125 *(u64*)(_data + _offset) = OS::hton64(v);

Callers 1

writeHeaderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected