OrbitEngine::System::IOStream class

Constructors, destructors, conversion operators

IOStream(const std::string& file, AccessMode access = AccessMode::READ)
~IOStream()

Public functions

auto isOpen() -> bool
auto getFilesize() -> size_t
auto read(void* buffer, size_t size, size_t count) -> size_t
auto write(const void* buffer, size_t size, size_t count) -> size_t
auto seek(size_t offset, int origin) -> bool
auto tell() -> size_t
void flush()