File Io
Source header: cuvs/util/file_io.hpp
Types
util::fd_streambuf
Streambuf that reads from a POSIX file descriptor
util::fd_istream
Istream that reads from a POSIX file descriptor
util::file_descriptor
RAII wrapper for POSIX file descriptors
Manages file descriptor lifecycle with automatic cleanup. Non-copyable, move-only.
util::buffered_ofstream
Buffered output stream wrapper
Wraps an std::ostream with a buffer to improve write performance by reducing the number of system calls. Automatically flushes on destruction. Non-copyable, non-movable.