MCPcopy Create free account
hub / github.com/D7EAD/mkPIVM / u64

Method u64

include/mkpivm/bytecode.h:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 }
26
27 void u64(std::uint64_t v) {
28 for (int i = 0; i < 8; ++i) buf_.push_back(static_cast<std::uint8_t>(v >> (8*i)));
29 }
30
31 void bytes(const std::uint8_t* p, std::size_t n) { buf_.insert(buf_.end(), p, p+n); }
32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected