MCPcopy Index your code
hub / github.com/vmihailenco/msgpack / decodeMapDefault

Method decodeMapDefault

decode_map.go:51–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (d *Decoder) decodeMapDefault() (interface{}, error) {
52 if d.mapDecoder != nil {
53 return d.mapDecoder(d)
54 }
55 return d.DecodeMap()
56}
57
58// DecodeMapLen decodes map length. Length is -1 when map is nil.
59func (d *Decoder) DecodeMapLen() (int, error) {

Callers 2

DecodeInterfaceMethod · 0.95
DecodeInterfaceLooseMethod · 0.95

Calls 1

DecodeMapMethod · 0.95

Tested by

no test coverage detected