MCPcopy Create free account
hub / github.com/DistributedML/Biscotti / DecodeWithConstructors

Function DecodeWithConstructors

lib/dedis/protobuf/decode.go:51–70  ·  view source on GitHub ↗

DecodeWithConstructors is like Decode, but you can pass a map of constructors with which to instantiate interface types.

(buf []byte, structPtr interface{}, cons Constructors)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

DecodeFunction · 0.85

Calls 6

messageMethod · 0.95
isBinaryUnmarshelerFunction · 0.85
ElemMethod · 0.80
NewMethod · 0.65
UnmarshalBinaryMethod · 0.45
KindMethod · 0.45

Tested by

no test coverage detected