MCPcopy Create free account
hub / github.com/Monibuca/engine / PutUInt64BE

Function PutUInt64BE

util/bits/bits_test.go:52–61  ·  view source on GitHub ↗
(b []byte, v uint64)

Source from the content-addressed store, hash-verified

50 }
51}
52func PutUInt64BE(b []byte, v uint64) {
53 b[0] = byte(v >> 56)
54 b[1] = byte(v >> 48)
55 b[2] = byte(v >> 40)
56 b[3] = byte(v >> 32)
57 b[4] = byte(v >> 24)
58 b[5] = byte(v >> 16)
59 b[6] = byte(v >> 8)
60 b[7] = byte(v)
61}

Callers 1

TestBitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected