| 9 | namespace { |
| 10 | struct TZLibCodec: public TAddLengthCodec<TZLibCodec> { |
| 11 | inline TZLibCodec(int level) |
| 12 | : MyName("zlib-" + ToString(level)) |
| 13 | , Level(level) |
| 14 | { |
| 15 | } |
| 16 | |
| 17 | static inline size_t DoMaxCompressedLength(size_t in) noexcept { |
| 18 | return compressBound(in); |
nothing calls this directly
no test coverage detected