blob: ecf2ca475b975ffeb6cb185fd2bf29f79430aaf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include <vector>
#include <unordered_map>
#include <cstdint>
class MIO0Decoder {
public:
static std::unordered_map<uint32_t, std::vector<uint8_t>> gCachedChunks;
static std::vector<uint8_t>& Decode(std::vector<uint8_t>& buffer, uint32_t offset);
static void ClearCache();
};
|