this code
https://github.com/aadsm/jsmediatags/blob/b7bbcdcceeddac6f0b22f05585c66bdfbb09ee78/src/BlobFileReader.js#L37C1-L57C4
can be written as:
this._blob.slice(range[0], range[1] + 1).arrayBuffer().then(ab => {
this._fileData.addData(range[0], new Uint8Array(ab))
callbacks.onSuccess()
}, info => {
callbacks.onError({ type: 'blob', info })
})
the FileReader is kind of legacy