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

Function decodeLE64

proto/decode.go:70–75  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

68}
69
70func decodeLE64(b []byte) (uint64, int, error) {
71 if len(b) < 8 {
72 return 0, 0, io.ErrUnexpectedEOF
73 }
74 return binary.LittleEndian.Uint64(b), 8, nil
75}
76
77func decodeTag(b []byte) (f fieldNumber, t wireType, n int, err error) {
78 v, n, err := decodeVarint(b)

Callers 3

decodeFloat64Function · 0.85
decodeFixed64Function · 0.85
structDecodeFuncOfFunction · 0.85

Calls 1

Uint64Method · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…