MCPcopy
hub / github.com/grpc/grpc-go / codecV2

Struct codecV2

encoding/proto/proto.go:41–41  ·  view source on GitHub ↗

codec is a CodecV2 implementation with protobuf. It is the default codec for gRPC.

Source from the content-addressed store, hash-verified

39// codec is a CodecV2 implementation with protobuf. It is the default codec for
40// gRPC.
41type codecV2 struct{}
42
43func (c *codecV2) Marshal(v any) (data mem.BufferSlice, err error) {
44 vv := messageV2Of(v)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected