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

Function unzstdData

http.go:638–645  ·  view source on GitHub ↗
(p []byte, maxBodySize int)

Source from the content-addressed store, hash-verified

636}
637
638func unzstdData(p []byte, maxBodySize int) ([]byte, error) {
639 var bb bytebufferpool.ByteBuffer
640 _, err := writeUnzstd(&bb, p, maxBodySize)
641 if err != nil {
642 return nil, err
643 }
644 return bb.B, nil
645}
646
647func inflateData(p []byte, maxBodySize int) ([]byte, error) {
648 var bb bytebufferpool.ByteBuffer

Callers 2

BodyUnzstdWithLimitMethod · 0.85
BodyUnzstdWithLimitMethod · 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…