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

Function unmarshalOverflow

json/codec.go:993–995  ·  view source on GitHub ↗
(b []byte, t reflect.Type)

Source from the content-addressed store, hash-verified

991}
992
993func unmarshalOverflow(b []byte, t reflect.Type) error {
994 return &UnmarshalTypeError{Value: "number " + prefix(b) + " overflows", Type: t}
995}
996
997func unexpectedEOF(b []byte) error {
998 return syntaxError(b, "unexpected end of JSON input")

Callers 9

parseIntMethod · 0.85
parseUintMethod · 0.85
decodeInt8Method · 0.85
decodeInt16Method · 0.85
decodeInt32Method · 0.85
decodeUint8Method · 0.85
decodeUint16Method · 0.85
decodeUint32Method · 0.85
decodeDurationMethod · 0.85

Calls 1

prefixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…