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

Function decodeLE32

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

Source from the content-addressed store, hash-verified

61}
62
63func decodeLE32(b []byte) (uint32, int, error) {
64 if len(b) < 4 {
65 return 0, 0, io.ErrUnexpectedEOF
66 }
67 return binary.LittleEndian.Uint32(b), 4, nil
68}
69
70func decodeLE64(b []byte) (uint64, int, error) {
71 if len(b) < 8 {

Callers 3

structDecodeFuncOfFunction · 0.85
decodeFloat32Function · 0.85
decodeFixed32Function · 0.85

Calls 1

Uint32Method · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…