| 90 | } |
| 91 | |
| 92 | static void write_bigsize(gzFile outf, u64 val) |
| 93 | { |
| 94 | u8 buf[BIGSIZE_MAX_LEN]; |
| 95 | size_t len; |
| 96 | |
| 97 | len = bigsize_put(buf, val); |
| 98 | if (gzwrite(outf, buf, len) == 0) |
| 99 | err(1, "Writing bigsize"); |
| 100 | } |
| 101 | |
| 102 | static u64 read_bigsize(gzFile inf) |
| 103 | { |
no test coverage detected