https://github.com/beached/daw_read_write
A generic I/O library that abstracts over read/write
https://github.com/beached/daw_read_write
Last synced: 11 months ago
JSON representation
A generic I/O library that abstracts over read/write
- Host: GitHub
- URL: https://github.com/beached/daw_read_write
- Owner: beached
- License: bsl-1.0
- Created: 2023-01-21T03:16:03.000Z (over 3 years ago)
- Default Branch: release
- Last Pushed: 2023-03-14T02:34:59.000Z (about 3 years ago)
- Last Synced: 2025-02-25T06:46:47.509Z (about 1 year ago)
- Language: C++
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# daw_read_write
A generic I/O library that abstracts over read/write
The library is composed of a few parts.
* The type trait for describing how to write to a type or read from it
* Non-Type erased Reader/Writer types that are constructible from a mapped type
* Type erased ReadProxy/WriteProxy types that allow one to type erase
* A Peekable Reader Type that allows one to Peek ahead
For most things using `#include ` is enough. For file descriptors, one needs to additionally add `#include `