DepotChunk

object DepotChunk

Provides a helper function to decrypt and decompress a single depot chunk.

Functions

Link copied to clipboard
fun process(info: ChunkData, data: ByteArray, destination: ByteArray, depotKey: ByteArray): Int

Processes the specified depot key by decrypting the data with the given depot encryption key, and then by decompressing the data. If the chunk has already been processed, this function does nothing.