MCPcopy Create free account
hub / github.com/K0lb3/UnityPy / chunk_based_compress

Function chunk_based_compress

UnityPy/helpers/CompressionHelper.py:158–231  ·  view source on GitHub ↗

compresses AssetBundle data based on the block_info_flag LZ4/LZ4HC will be chunk-based compression :param data: uncompressed data :type data: ByteString :param block_info_flag: block info flag :type block_info_flag: int :return: compressed data and block info :rtype: tup

(data: ByteString, block_info_flag: int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected