1 #ifndef MF_UTILITY_IO_H_
2 #define MF_UTILITY_IO_H_
33 std::size_t
file_size(
const std::string&);
std::uint8_t byte
Single byte type.
Definition: common.h:56
const bool host_is_little_endian
Definition: io.cc:30
void end_line(std::ostream &str, line_delimitor ld)
Definition: io.cc:88
void write_line(std::ostream &str, const std::string &line, line_delimitor ld)
Definition: io.cc:82
line_delimitor
Definition: io.h:11
void flip_endianness(byte *data, std::size_t sz)
Definition: io.cc:100
line_delimitor detect_line_delimitor(std::istream &str, std::size_t max_offset)
Detects line delimitor used in given file.
Definition: io.cc:34
const line_delimitor default_line_delimitor
Definition: io.cc:25
std::size_t file_size(const std::string &filename)
Definition: io.cc:108
void skip_line(std::istream &str, line_delimitor ld)
Definition: io.cc:68
void read_line(std::istream &str, std::string &line, line_delimitor ld)
Definition: io.cc:52
const bool host_has_iec559_float
Definition: io.cc:27