https://github.com/beached/daw_io
modern type erased io library
https://github.com/beached/daw_io
Last synced: 2 months ago
JSON representation
modern type erased io library
- Host: GitHub
- URL: https://github.com/beached/daw_io
- Owner: beached
- License: other
- Created: 2022-02-16T07:44:53.000Z (about 3 years ago)
- Default Branch: release
- Last Pushed: 2022-02-16T16:58:25.000Z (about 3 years ago)
- Last Synced: 2025-01-07T21:12:46.900Z (4 months ago)
- Language: C++
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# daw_io
modern type erased io library## output_stream
```c++
struct daw::io::output_stream {
virtual void write( std::span data ) = 0;
virtual void close( );
virtual void flush( );
[[nodiscard]] virtual bool can_write( ) const;
void write( std::span data, std::size_t offset, std::size_t length );
template
void print( fmt::format_string fmt, Ts &&...args );
template
void print( std::string_view fmt, Ts &&...args );
};
```