MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / MarshalTo

Method MarshalTo

bitmap/pb.pb.go:9890–9893  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

9888}
9889
9890func (m *SubscriptionRequest) MarshalTo(dAtA []byte) (int, error) {
9891 size := m.Size()
9892 return m.MarshalToSizedBuffer(dAtA[:size])
9893}
9894
9895func (m *SubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
9896 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected