MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / Encode

Function Encode

protocol/codec.go:125–134  ·  view source on GitHub ↗

Encode returns a msgpack-encoded byte buffer for a given object.

(obj msgp.Marshaler)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

addPendingSigFunction · 0.92
persistProverFunction · 0.92
setBlocksAndMessageFunction · 0.92
broadcastSigsMethod · 0.92
ToBeHashedMethod · 0.92
ToBeHashedMethod · 0.92

Calls 3

EncodeMsgpFunction · 0.85
EncodeReflectFunction · 0.85
CanMarshalMsgMethod · 0.45

Tested by 15

setBlocksAndMessageFunction · 0.74
TestBuildVerifyFunction · 0.74
TestMarshalFunction · 0.74
testWithSizeFunction · 0.74
TestSizeLimitsMerkleFunction · 0.74
BenchmarkVoteDecodingFunction · 0.74