MCPcopy
hub / github.com/valyala/fasthttp / releaseRealZstdWriter

Function releaseRealZstdWriter

zstd.go:81–86  ·  view source on GitHub ↗
(zw *zstd.Encoder, level int)

Source from the content-addressed store, hash-verified

79}
80
81func releaseRealZstdWriter(zw *zstd.Encoder, level int) {
82 zw.Close()
83 nLevel := normalizeZstdCompressLevel(level)
84 p := realZstdWriterPoolMap[nLevel]
85 p.Put(zw)
86}
87
88func AppendZstdBytesLevel(dst, src []byte, level int) []byte {
89 w := &byteSliceWriter{b: dst}

Callers 1

nonblockingWriteZstdFunction · 0.85

Calls 2

CloseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…