}
if passthrough != nil {
+ if base >= 'A' && base <= 'Z' {
+ // lowercase for passthrough
+ base += 'a' - 'A'
+ }
_, err = passthrough.Write([]byte{base})
if err != nil {
return err
}
}
+ offset++
if !isbase[int(base)] {
// 'N' or various other chars meaning exact
// base not known
window = window[:0]
continue
}
- offset++
window = append(window, base)
if len(window) == cap(window) {
copy(window, window[len(window)-taglib.keylen:])