模块 mxlib.api

接口 ResourceDecompressor

    • 方法详细资料

      • getName

        String getName()
        Decompressor unique name.
        返回:
        The decompressor name.
      • decompress

        byte[] decompress​(ResourceDecompressor.StringsProvider strings,
                          byte[] content,
                          int offset,
                          long originalSize)
                   throws Exception
        Decompress a resource.
        参数:
        strings - The String provider
        content - The resource content
        offset - Resource content offset
        originalSize - Uncompressed size
        返回:
        Uncompressed resource
        抛出:
        Exception