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

Method SetMapDecoder

decode.go:129–131  ·  view source on GitHub ↗
(fn func(*Decoder) (interface{}, error))

Source from the content-addressed store, hash-verified

127}
128
129func (d *Decoder) SetMapDecoder(fn func(*Decoder) (interface{}, error)) {
130 d.mapDecoder = fn
131}
132
133// UseLooseInterfaceDecoding causes decoder to use DecodeInterfaceLoose
134// to decode msgpack value into Go interface{}.

Callers 2

TestTypesFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestTypesFunction · 0.76