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

Struct Protobuf

lib/codec/codec.go:32–32  ·  view source on GitHub ↗

Protobuf is an encoding implementation for protobuf

Source from the content-addressed store, hash-verified

30
31// Protobuf is an encoding implementation for protobuf
32type Protobuf struct{}
33
34// Marshal() converts a message to bytes
35func (p *Protobuf) Marshal(message any) ([]byte, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected