gus_massa a day ago

Sorry for asking, but there are too many weird project in this field. Can compressed_size be bigger than input.len?

  • ozgrakkurt 11 hours ago

    Yes because you have to have some metadata that describes how to decompress the compressed data. This is the case in all compression algorithms I know.

    As an example Lz4 and zstd also have a compressBound() function that calculates this.