retdec
file_io.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_FILEFORMAT_UTILS_FILE_IO_H
8 #define RETDEC_FILEFORMAT_UTILS_FILE_IO_H
9 
10 #include <sstream>
11 #include <string>
12 #include <vector>
13 
14 namespace retdec {
15 namespace fileformat {
16 
17 bool readHexString(std::istream &fileStream, std::string &hexa, std::size_t start = 0, std::size_t desiredSize = 0);
18 bool readPlainString(std::istream &fileStream, std::string &plain, std::size_t start = 0, std::size_t desiredSize = 0);
19 
20 } // namespace fileformat
21 } // namespace retdec
22 
23 #endif
bool readHexString(std::istream &fileStream, std::string &hexa, std::size_t start=0, std::size_t desiredSize=0)
Definition: file_io.cpp:28
bool readPlainString(std::istream &fileStream, std::string &plain, std::size_t start=0, std::size_t desiredSize=0)
Definition: file_io.cpp:51
Definition: archive_wrapper.h:19