mmm-0.1.0.0: Minecraft 1.21.4 implementation in Haskell
Copyright(c) axionbuster 2025
LicenseBSD-3-Clause
Safe HaskellNone
LanguageGHC2021

M.IO.Internal.Zlib

Description

Provides safe decompression functionality for zlib-compressed data with length validation and error handling.

Synopsis

Documentation

safedecomp Source #

Arguments

:: Int

expected length of decompressed data

-> ByteString

compressed data

-> IO ByteString

decompressed data

length-checked decompression of zlib-compressed data under IO