MCPcopy
hub / github.com/protocolbuffers/protobuf-go / bytesConverter

Struct bytesConverter

internal/impl/convert.go:343–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341func (c *stringConverter) Zero() protoreflect.Value { return c.def }
342
343type bytesConverter struct {
344 goType reflect.Type
345 def protoreflect.Value
346}
347
348func (c *bytesConverter) PBValueOf(v reflect.Value) protoreflect.Value {
349 if v.Type() != c.goType {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected