omni::io::file
NAME

omni::io::file

A namespace of omni::io

#include <omni/io.hpp>
file
inline bool omni::io::file::copy(const std::string& file, const std::string& new_name, bool overwrite)
inline bool omni::io::file::create(const std::string& file, bool create_path)
inline bool omni::io::file::exist(const std::string& file)
inline bool omni::io::file::exists(const std::string& file)
inline std::string omni::io::file::get_contents(const std::string& file)
inline uint64_t omni::io::file::get_size(const std::string& file)
inline bool omni::io::file::move(const std::string& file, const std::string& new_name, bool create_path)
inline uint64_t omni::io::file::read(const std::string& file, omni::seq::uchar_t& buffer)
inline uint64_t omni::io::file::read_raw(const std::string& file, unsigned char* buffer, uint64_t length)
inline bool omni::io::file::remove(const std::string& file)
inline bool omni::io::file::rename(const std::string& file, const std::string& new_name, bool create_path)
inline bool omni::io::file::set_size(const std::string& file, uint64_t size)
inline uint64_t omni::io::file::write(const std::string& file, const omni::seq::uchar_t& buffer, bool append)
inline uint64_t omni::io::file::write_line(const std::string& file, const omni::seq::uchar_t& buffer, bool append)
inline uint64_t omni::io::file::write_line_raw(const std::string& file, const unsigned char* buffer, uint64_t length, bool append)
inline uint64_t omni::io::file::write_raw(const std::string& file, const unsigned char* buffer, uint64_t length, bool append)

SYNOPSIS

No synopsis.

top

DESCRIPTION

No description.

top

RETURN VALUES

No return value.

top

ERRORS

No errors specific to this context.

top

CONSIDERATIONS

No extra considerations.

top

PLATFORM SPECIFIC

Nothing platform specific to account for.

top

NOTES

No additional notes.

top

EXAMPLE
Currently no examples.
Visit the examples page for more.

top