MCPcopy
hub / github.com/grafana/dskit / Write

Method Write

grpcencoding/snappy/snappy.go:59–61  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

57}
58
59func (w writeCloser) Write(p []byte) (n int, err error) {
60 return w.writer.Write(p)
61}
62
63func (w writeCloser) Close() error {
64 defer func() {

Callers 3

TestSnappyFunction · 0.45
BenchmarkSnappyCompressFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestSnappyFunction · 0.36
BenchmarkSnappyCompressFunction · 0.36