2019-02-13 14:10:36 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
|
|
|
|
class UpsPatcher
|
|
|
|
{
|
|
|
|
private:
|
2020-12-19 23:32:47 +03:00
|
|
|
static int64_t ReadBase128Number(std::istream& file);
|
2019-02-13 14:10:36 -05:00
|
|
|
|
|
|
|
public:
|
2020-12-19 23:32:47 +03:00
|
|
|
static bool PatchBuffer(std::istream& upsFile, vector<uint8_t>& input, vector<uint8_t>& output);
|
|
|
|
static bool PatchBuffer(string upsFilepath, vector<uint8_t>& input, vector<uint8_t>& output);
|
|
|
|
};
|