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

Function EncodeReflect

protocol/codec.go:105–116  ·  view source on GitHub ↗

EncodeReflect returns a msgpack-encoded byte buffer for a given object, using reflection.

(obj interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

TestBuildVerifyFunction · 0.92
encodeFunction · 0.92
TestDecodeErrsFunction · 0.92
TestIdempotenceFunction · 0.92
TestIdempotenceStructFunction · 0.92
TestP2PVoteCompressionFunction · 0.92
MakePrioResponseMethod · 0.92
TestPreparePeerDataFunction · 0.92
TestParseVoteErrorsFunction · 0.92

Calls 2

GetMethod · 0.65
PutMethod · 0.65

Tested by 15

TestBuildVerifyFunction · 0.74
TestDecodeErrsFunction · 0.74
TestIdempotenceFunction · 0.74
TestIdempotenceStructFunction · 0.74
TestP2PVoteCompressionFunction · 0.74
MakePrioResponseMethod · 0.74
TestPreparePeerDataFunction · 0.74
TestParseVoteErrorsFunction · 0.74