Add HyruleMagic Compress fn

This commit is contained in:
scawful
2024-01-29 00:30:05 -05:00
parent 12e361c9a7
commit 9b78e90221
2 changed files with 150 additions and 0 deletions

View File

@@ -191,6 +191,9 @@ absl::StatusOr<Bytes> CompressV3(const std::vector<uint8_t>& data,
const int start, const int length,
int mode = 1, bool check = false);
uint8_t* Compress(uint8_t const* const src, int const oldsize, int* const size,
int const flag);
// Decompression
std::string SetBuffer(const std::vector<uint8_t>& data, int src_pos,