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

Struct byteCodec

internal/xds/clients/grpctransport/grpc_transport.go:216–216  ·  view source on GitHub ↗

byteCodec here is still sending proto messages. It's just they are in []byte form.

Source from the content-addressed store, hash-verified

214// byteCodec here is still sending proto messages. It's just they are
215// in []byte form.
216type byteCodec struct{}
217
218func (c *byteCodec) Marshal(v any) ([]byte, error) {
219 if b, ok := v.([]byte); ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected