retdec
format_detection.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_FILEFORMAT_UTILS_FORMAT_DETECTION_H
8 #define RETDEC_FILEFORMAT_UTILS_FORMAT_DETECTION_H
9 
11 
12 namespace retdec {
13 namespace fileformat {
14 
16  const std::string& filePath,
17  bool isRaw = false);
18 
20  std::istream &inputStream,
21  bool isRaw = false);
22 
24  const std::uint8_t* data,
25  std::size_t size,
26  bool isRaw = false);
27 
28 } // namespace fileformat
29 } // namespace retdec
30 
31 #endif
Header file for fileformat types and structures.
Format
Definition: fftypes.h:44
Format detectFileFormat(const std::string &filePath, bool isRaw=false)
Definition: format_detection.cpp:297
Definition: archive_wrapper.h:19