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

Method MarshalTo

extgrpc/ext_grpc.pb.go:88–91  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

86}
87
88func (m *EncodedGrpcCode) MarshalTo(dAtA []byte) (int, error) {
89 size := m.Size()
90 return m.MarshalToSizedBuffer(dAtA[:size])
91}
92
93func (m *EncodedGrpcCode) MarshalToSizedBuffer(dAtA []byte) (int, error) {
94 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected