Files
jak-project/decompiler/util/FileIO.h
T
water111 de5aa7e5e4 Move duplicated utilities to the common util folder and remove NEXT_DIR (#29)
* move things to the common library and remove next_dir

* fix for windows

* one last windows fix

* last fix for real this time

* debug listener test

* fix listener threading bug
2020-09-10 20:03:31 -04:00

14 lines
362 B
C++

#ifndef JAK_V2_FILEIO_H
#define JAK_V2_FILEIO_H
#include <string>
#include <vector>
std::string combine_path(const std::string& parent, const std::string& child);
std::string base_name(const std::string& filename);
void init_crc();
uint32_t crc32(const uint8_t* data, size_t size);
uint32_t crc32(const std::vector<uint8_t>& data);
#endif // JAK_V2_FILEIO_H