yellowbluesky / PixivforMuzei3

Best Pixiv plugin for Muzei 3
GNU General Public License v3.0
177 stars 15 forks source link

Get file extensions does not work on Kotlin #117

Closed yellowbluesky closed 4 years ago

yellowbluesky commented 4 years ago

RandomAccessFile using the readFully() function, specifying the offset and length of bytes to read, or simply using seek() Must close the file pointer when done.

That should be better than readBytes() from the Kotlin standard library, as it doesn't read the entire file into memory.

yellowbluesky commented 4 years ago

Added in 770b1e9f8fbcdaf74a0b82901a8535bc0975362c