MCPcopy
hub / github.com/tinylib/msgp / getMuint32

Function getMuint32

msgp/integers.go:112–116  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

110}
111
112func getMuint32(b []byte) uint32 {
113 _ = b[4] // bounds check elimination
114
115 return (uint32(b[1]) << 24) | (uint32(b[2]) << 16) | (uint32(b[3]) << 8) | (uint32(b[4]))
116}
117
118func putMuint16(b []byte, u uint16) {
119 _ = b[2] // bounds check elimination

Callers 5

ReadFloat32Method · 0.85
ReadInt64Method · 0.85
ReadUint64Method · 0.85
BenchmarkIntegersFunction · 0.85
ReadFloat32BytesFunction · 0.85

Calls

no outgoing calls

Tested by 1

BenchmarkIntegersFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…