| 702 | ~BufferedWriter() { flush(); } |
| 703 | |
| 704 | void flush() |
| 705 | { |
| 706 | if (m_buf_pos) m_dst.write_buffer(std::span{m_buf}.first(m_buf_pos)); |
| 707 | m_buf_pos = 0; |
| 708 | } |
| 709 | |
| 710 | void write(std::span<const std::byte> src) |
| 711 | { |
nothing calls this directly
no test coverage detected