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