func (d *decoder29) init(r io.ByteReader, reset bool) error {
	if d.br == nil {
		d.br = newRarBitReader(r)
	} else {
		d.br.reset(r)
	}
	d.eof = false
	if reset {
		d.initFilters()
		d.lz.reset()
		d.ppm.reset()
		d.decode = nil
	}
	if d.decode == nil {
		return d.readBlockHeader()
	}
	return nil
}
func (d *decoder29) init(r io.ByteReader, reset bool) error {
	if d.br == nil {
		d.br = newRarBitReader(r)
	} else {
		d.br.reset(r)
	}
	d.eof = false
	if reset {
		d.initFilters()
		d.lz.reset()
		d.ppm.reset()
		d.decode = nil
	}
	if d.decode == nil {
		return d.readBlockHeader()
	}
	return nil
}
func ( d * decoder29 ) init ( r io . ByteReader , reset bool ) error { if d . br == nil { d . br = newRarBitReader ( r ) } else { d . br . reset ( r ) } d . eof = false if reset { d . initFilters ( ) d . lz . reset ( ) d . ppm . reset ( ) d . decode = nil } if d . decode == nil { return d . readBlockHeader ( ) } return nil }
// init intializes the decoder for decoding a new file.
init intializes the decoder for decoding a new file .