| Copyright | (c) axionbuster 2025 |
|---|---|
| License | BSD-3-Clause |
| Safe Haskell | None |
| Language | GHC2021 |
M.IO.Internal.Zlib
Description
Provides safe decompression functionality for zlib-compressed data with length validation and error handling.
Synopsis
- safedecomp :: Int -> ByteString -> IO ByteString
Documentation
Arguments
| :: Int | expected length of decompressed data |
| -> ByteString | compressed data |
| -> IO ByteString | decompressed data |
length-checked decompression of zlib-compressed data under IO