r5sdk/r5dev/rtech/pak/pakencode.h
Kawe Mazidjatari e90349cc0f RTech: properly deal with patch headers when encoding pak files
Patch header must be updated to accommodate the new pak file sizes the patch pak patches.
2024-04-05 17:56:48 +02:00

10 lines
328 B
C

#ifndef RTECH_PAKENCODE_H
#define RTECH_PAKENCODE_H
bool Pak_BufferToBufferEncode(const uint8_t* const inBuf, const uint64_t inLen,
uint8_t* const outBuf, const uint64_t outLen, const int level);
bool Pak_EncodePakFile(const char* const inPakFile, const char* const outPakFile, const int level);
#endif // RTECH_PAKENCODE_H