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

Method Reset

test/codec_perf/perf.pb.go:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (x *Buffer) Reset() {
51 *x = Buffer{}
52 mi := &file_test_codec_perf_perf_proto_msgTypes[0]
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 ms.StoreMessageInfo(mi)
55}
56
57func (x *Buffer) String() string {
58 return protoimpl.X.MessageStringOf(x)

Calls

no outgoing calls