MCPcopy Index your code
hub / github.com/cockroachdb/errors / XXX_Marshal

Method XXX_Marshal

extgrpc/ext_grpc.pb.go:38–45  ·  view source on GitHub ↗
(b []byte, deterministic bool)

Source from the content-addressed store, hash-verified

36 return m.Unmarshal(b)
37}
38func (m *EncodedGrpcCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
39 b = b[:cap(b)]
40 n, err := m.MarshalToSizedBuffer(b)
41 if err != nil {
42 return nil, err
43 }
44 return b[:n], nil
45}
46func (m *EncodedGrpcCode) XXX_Merge(src proto.Message) {
47 xxx_messageInfo_EncodedGrpcCode.Merge(m, src)
48}

Callers

nothing calls this directly

Calls 1

MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected