Skip to content

proofxyz/inflate-sol

 
 

Repository files navigation

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);
    }
}

About

Inflate implementation in Solidity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 92.2%
  • JavaScript 7.8%