| 347 | { |
| 348 | public: |
| 349 | BufferWriter() : output_stream(std::ios::binary) |
| 350 | { |
| 351 | if (!output_stream) |
| 352 | { |
| 353 | throw util::RuntimeError( |
| 354 | "<buffer>", ErrorCode::FileOpenError, SOURCE_REF, std::strerror(errno)); |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | template <typename T> void WriteFrom(const T *src, const std::size_t count) |
| 359 | { |
nothing calls this directly
no test coverage detected