redwarp / gifdecoder

An implementation of a gif decoder written 100% in Kotlin, plus an associated Drawable for Android
Apache License 2.0
47 stars 6 forks source link

Random access file: handle file deleted case #9

Closed redwarp closed 3 years ago

redwarp commented 3 years ago

With 0.4.0 comes reading the gif from a random access file. Cool. But what happens if the file gets deleted? It crashes.

It might be cool to create or reuse an exception for: