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

Function AppendZstdBytesLevel

zstd.go:88–92  ·  view source on GitHub ↗
(dst, src []byte, level int)

Source from the content-addressed store, hash-verified

86}
87
88func AppendZstdBytesLevel(dst, src []byte, level int) []byte {
89 w := &byteSliceWriter{b: dst}
90 WriteZstdLevel(w, src, level) //nolint:errcheck
91 return w.b
92}
93
94func WriteZstdLevel(w io.Writer, p []byte, level int) (int, error) {
95 level = normalizeZstdCompressLevel(level)

Callers 3

AppendZstdBytesFunction · 0.85
zstdBodyMethod · 0.85
createDirIndexMethod · 0.85

Calls 1

WriteZstdLevelFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…