Commit graph

18 commits

Author SHA1 Message Date
664b1d613e Add io::expanding_memory_ostream that writes to std::vector<char>
All checks were successful
Run tests / Run tests (push) Successful in 7m34s
2026-07-06 22:41:38 +03:00
ae3b91e7b1 Set file stream buffers to pre-allocated 1MB chunk on web builds 2026-07-06 22:41:01 +03:00
32bbc93eea Open read-only files as r+b on web builds (apparently read-only files have perf issues) 2026-07-06 22:40:20 +03:00
4dc8b6a183 Use _WIN32 macro to detect Windows (instead of other macro variants) 2025-03-04 20:00:03 +03:00
ef85eec178 Use wide strings for io::file_stream on Windows 2025-03-04 18:12:21 +03:00
6fc476f1f0 Support building without Boost.Stacktrace 2025-01-26 14:45:43 +03:00
a8fc4ea741 Add io::istream::finished() method 2023-12-03 20:31:48 +03:00
04243db779 Synchronize stdout & stderr for logging 2023-08-06 18:44:35 +03:00
85d7a0ca33 Huge refactor: use util::exception everywhere instead of std exceptions 2023-08-06 18:33:07 +03:00
0979b55f72 Throw std::system_error if a file could not be opened in io::file_stream 2023-02-12 11:41:02 +03:00
5e6cd060d7 Make io::read_full return util::blob 2023-02-10 21:15:19 +03:00
e7c999c3dd Add io::read_full function to read whole input stream into std::vector 2022-10-07 23:37:04 +03:00
9a47155284 Support advancing & retrieving internal pointer in io::memory_stream 2022-06-13 00:17:40 +03:00
ef5b8479ea Add io stream read/write_all 2022-06-11 13:55:13 +03:00
142d15fdcb Add io stream end errors 2022-06-11 13:53:13 +03:00
82e7164670 Support flushing output streams 2022-05-17 12:53:55 +03:00
749c026d7c Fix file_stream for windows 2021-04-26 01:51:09 +03:00
22ef7b45a8 Add simple binary io library 2021-04-19 20:59:49 +03:00