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

Function WriteUnzstd

zstd.go:141–143  ·  view source on GitHub ↗

WriteUnzstd writes unzstd p to w and returns the number of uncompressed bytes written to w.

(w io.Writer, p []byte)

Source from the content-addressed store, hash-verified

139// WriteUnzstd writes unzstd p to w and returns the number of uncompressed
140// bytes written to w.
141func WriteUnzstd(w io.Writer, p []byte) (int, error) {
142 return writeUnzstd(w, p, 0)
143}
144
145func writeUnzstd(w io.Writer, p []byte, maxBodySize int) (int, error) {
146 r := &byteSliceReader{b: p}

Callers 1

AppendUnzstdBytesFunction · 0.85

Calls 1

writeUnzstdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…