#include "io_utils.h"
#include <wx/wfstream.h>
#include <wx/txtstrm.h>
#include <mmh3_hash.h>
Go to the source code of this file.
|
| bool | IO_UTILS::fileStartsWithPrefix (const wxString &aFilePath, const wxString &aPrefix, bool aIgnoreWhitespace) |
| | Check if a file starts with a defined string.
|
| |
| bool | IO_UTILS::fileHasBinaryHeader (const wxString &aFilePath, const std::vector< uint8_t > &aHeader, size_t aOffset=0) |
| | Check if a file starts with a defined binary header.
|
| |
| std::optional< wxString > | IO_UTILS::fileHashMMH3 (const wxString &aFilePath) |
| | Calculates an MMH3 hash of a given file.
|
| |