MCPcopy Create free account
hub / github.com/akalin/gopar / NewDecoder

Function NewDecoder

par2/decoder.go:736–738  ·  view source on GitHub ↗

NewDecoder reads the given index file, which usually has a .par2 extension.

(delegate DecoderDelegate, indexFile string, numGoroutines int)

Source from the content-addressed store, hash-verified

734// NewDecoder reads the given index file, which usually has a .par2
735// extension.
736func NewDecoder(delegate DecoderDelegate, indexFile string, numGoroutines int) (*Decoder, error) {
737 return newDecoder(defaultFileIO{}, delegate, indexFile, numGoroutines)
738}

Callers

nothing calls this directly

Calls 1

newDecoderFunction · 0.70

Tested by

no test coverage detected