MCPcopy
hub / github.com/dropbox/godropbox / bytesToLEUint

Function bytesToLEUint

database/binlog/decoder.go:10–16  ·  view source on GitHub ↗
(valBytes []byte)

Source from the content-addressed store, hash-verified

8)
9
10func bytesToLEUint(valBytes []byte) uint64 {
11 val := uint64(0)
12 for i, b := range valBytes {
13 val += uint64(b) << (uint(i) * 8)
14 }
15 return val
16}
17
18const NullLength = uint64(^uint32(0))
19

Callers 2

readFieldLengthFunction · 0.85
parseValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected