MCPcopy
hub / github.com/klauspost/compress / GzipWriter

Interface GzipWriter

gzhttp/writer/interface.go:12–16  ·  view source on GitHub ↗

GzipWriter implements the functions needed for compressing content.

Source from the content-addressed store, hash-verified

10
11// GzipWriter implements the functions needed for compressing content.
12type GzipWriter interface {
13 Write(p []byte) (int, error)
14 Close() error
15 Flush() error
16}
17
18// GzipWriterExt implements the functions needed for compressing content
19// and optional extensions.

Callers 24

FuzzEncodingFunction · 0.65
TestDictDecoderFunction · 0.65
writeMethod · 0.65
writeTokensMethod · 0.65
writeBlockHuffMethod · 0.65
TestResetDictFunction · 0.65
copyBufferFunction · 0.65
FuzzEncodingFunction · 0.65
testBlockFunction · 0.65
Example_dictionaryFunction · 0.65
Example_synchronizationFunction · 0.65

Implementers 7

Writerflate/deflate.go
Encoderzstd/encoder.go
Writerinternal/snapref/encode.go
Writergzip/gzip.go
GzipResponseWritergzhttp/compress.go
Writerzlib/writer.go
Writers2/writer.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…