KiCad PCB EDA Suite
Loading...
Searching...
No Matches
io_utils.h File Reference
#include <kicommon.h>
#include <cstdint>
#include <vector>
#include <wx/string.h>

Go to the source code of this file.

Namespaces

namespace  IO_UTILS
 

Functions

bool IO_UTILS::fileStartsWithPrefix (const wxString &aFilePath, const wxString &aPrefix, bool aIgnoreWhitespace)
 Check if a file starts with a defined string.
 
bool IO_UTILS::fileStartsWithBinaryHeader (const wxString &aFilePath, const std::vector< uint8_t > &aHeader)
 Check if a file starts with a defined binary header.