MCPcopy Create free account
hub / github.com/segmentio/encoding / decodeInt

Function decodeInt

proto/int.go:32–36  ·  view source on GitHub ↗
(b []byte, p unsafe.Pointer, flags flags)

Source from the content-addressed store, hash-verified

30}
31
32func decodeInt(b []byte, p unsafe.Pointer, flags flags) (int, error) {
33 v, n, err := decodeVarint(b)
34 *(*int)(p) = int(flags.int64(v))
35 return n, err
36}

Callers

nothing calls this directly

Calls 2

decodeVarintFunction · 0.85
int64Method · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…