MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / ReadUint32

Function ReadUint32

pkg/util/bytes/bytes.go:58–60  ·  view source on GitHub ↗

ReadUint32 reads the uint32 value from the byte slice.

(b []byte)

Source from the content-addressed store, hash-verified

56
57// ReadUint32 reads the uint32 value from the byte slice.
58func ReadUint32(b []byte) uint32 {
59 return NativeEndian.Uint32(b)
60}
61
62// ReadUint64 reads the uint64 value from the byte slice.
63func ReadUint64(b []byte) uint64 {

Callers 6

UnmarshalMethod · 0.92
UnmarshalMethod · 0.92
LenMethod · 0.92
SizeMethod · 0.92
UnmarshalMethod · 0.92
UnmarshalRawMethod · 0.92

Calls 1

Uint32Method · 0.80

Tested by

no test coverage detected