tonihele / OpenKeeper

Dungeon Keeper II remake
GNU General Public License v3.0
433 stars 41 forks source link

More io stuff #400

Closed tonihele closed 2 years ago

tonihele commented 2 years ago

Adds a BufferedInputStream based resource reader that just goes forward. Meant for resources we read completely, from start to end. No need to worry about chunk sizes and all that. The minimum file read is determined by the BufferedInputStream which is sufficiently performant in all cases.

Mainly for the TGQ video and KMF models.