littlekt
littlekt copied to clipboard
Add ability to uncompress GZIP and Zlib
Being able to uncompress a ByteArray
or a String
with GZIP and ZLib as an extension method, Mainly needed to uncompress data when using Tiled
map editor.
val data = inputData.uncompress(GZIP) // or ZLib