NewDecoder reads the given index file, which usually has a .PAR extension.
(delegate DecoderDelegate, indexFile string)
| 105 | // NewDecoder reads the given index file, which usually has a .PAR |
| 106 | // extension. |
| 107 | func NewDecoder(delegate DecoderDelegate, indexFile string) (*Decoder, error) { |
| 108 | return newDecoder(defaultFileIO{}, delegate, indexFile) |
| 109 | } |
| 110 | |
| 111 | func sixteenKHash(data []byte) [md5.Size]byte { |
| 112 | if len(data) < 16*1024 { |
nothing calls this directly
no test coverage detected