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

Method Do

rpc_util.go:55–55  ·  view source on GitHub ↗

Do compresses p into w.

(w io.Writer, p []byte)

Source from the content-addressed store, hash-verified

53type Compressor interface {
54 // Do compresses p into w.
55 Do(w io.Writer, p []byte) error
56 // Type returns the compression algorithm the Compressor uses.
57 Type() string
58}

Calls

no outgoing calls

Tested by 4

TestCompressMethod · 0.52
bmCompressorFunction · 0.52
CloseMethod · 0.52