| 397 | |
| 398 | template <uint32_t iden> |
| 399 | void write_header(std::ostream& fs, uint32_t N) { |
| 400 | uint32_t padding = padding_for(N); |
| 401 | uint32_t header[] = { N + padding, iden }; |
| 402 | fs.write((const char*)header, sizeof(header)); |
| 403 | } |
| 404 | |
| 405 | template <uint32_t iden, typename It> |
| 406 | void write_block(std::ostream& fs, It begin, It end) { |
nothing calls this directly
no test coverage detected