Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 543 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 543 Bytes

inflate-sol

An implementation of Puff in Solidity. This decompresses a DEFLATE-compressed data stream.

Installing

TODO

Usage

pragma solidity >=0.8.0 <0.9.0;

import "./InflateLib.sol";

contract InflateLibTest {
    function puff(bytes calldata source, uint256 destlen)
        external
        pure
        returns (InflateLib.ErrorCode, bytes memory)
    {
        return InflateLib.puff(source, destlen);
    }
}