MCPcopy
hub / github.com/canopy-network/canopy / Unmarshal

Method Unmarshal

lib/codec/codec.go:16–16  ·  view source on GitHub ↗
(data []byte, ptr any)

Source from the content-addressed store, hash-verified

14type BinaryCodec interface {
15 Marshal(message any) ([]byte, error)
16 Unmarshal(data []byte, ptr any) error
17 ToAny(proto.Message) (*anypb.Any, error)
18 FromAny(*anypb.Any) (proto.Message, error)
19}

Callers 15

keystoreNewKeyFunction · 0.65
keystoreGetKeyFunction · 0.65
getHeightFunction · 0.65
getAccountBalanceFunction · 0.65
waitForTxInclusionFunction · 0.65
checkTxNotFailedFunction · 0.65
buildSignAndSendTxFunction · 0.65
UnmarshalFunction · 0.65
NewConfigFromFileFunction · 0.65
loadCheckpointsFileMethod · 0.65
UnmarshalJSONMethod · 0.65
UnmarshalJSONMethod · 0.65

Implementers 1

Protobuflib/codec/codec.go

Calls

no outgoing calls

Tested by 15

keystoreNewKeyFunction · 0.52
keystoreGetKeyFunction · 0.52
getHeightFunction · 0.52
getAccountBalanceFunction · 0.52
waitForTxInclusionFunction · 0.52
checkTxNotFailedFunction · 0.52
buildSignAndSendTxFunction · 0.52
TestViewJSONFunction · 0.52
TestPhaseJSONFunction · 0.52
TestPeerAddressJSONFunction · 0.52