MCPcopy
hub / github.com/klauspost/compress / newFrameDec

Function newFrameDec

zstd/framedec.go:51–59  ·  view source on GitHub ↗
(o decoderOptions)

Source from the content-addressed store, hash-verified

49)
50
51func newFrameDec(o decoderOptions) *frameDec {
52 if o.maxWindowSize > o.maxDecodedSize {
53 o.maxWindowSize = o.maxDecodedSize
54 }
55 d := frameDec{
56 o: o,
57 }
58 return &d
59}
60
61// reset will read the frame header and prepare for block decoding.
62// If nothing can be read from the input, io.EOF will be returned.

Callers 2

NewReaderFunction · 0.85
ResetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…