Big thank you for this nice piece of coding!
After testing between reflate of yours and this pzlib2, I wonder if this is the unlocked version of your reflate (without the need for -s2000m option in arc)
I get same size (few bytes differences) when using pzlib2 or reflate...
but endeed , compression and decompression is way faster with pzlib2!
no error so far with SkyrimSE, ratio is ... correct...
Thx again Razor!
and ....I already promote your work all around me...you're our Master bro!