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

Struct nopCompressor

benchmark/benchmain/main.go:1003–1003  ·  view source on GitHub ↗

nopCompressor is a compressor that just copies data.

Source from the content-addressed store, hash-verified

1001
1002// nopCompressor is a compressor that just copies data.
1003type nopCompressor struct{}
1004
1005func (nopCompressor) Do(w io.Writer, p []byte) error {
1006 n, err := w.Write(p)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected