How to evaluate the uncompression size of brotli ? #353

Closed
opened 2026-01-29 20:42:32 +00:00 by claunia · 1 comment
Owner

Originally created by @ldcsaa on GitHub (Oct 24, 2020).

compress max size uses BrotliGuessCompressBound().
But how to evaluate the uncompression size of brotli ?

Originally created by @ldcsaa on GitHub (Oct 24, 2020). compress max size uses BrotliGuessCompressBound(). But how to evaluate the uncompression size of brotli ?
Author
Owner

@eustas commented on GitHub (Jan 18, 2021):

In most cases there is no way to do that without decompression.
Each "block" contains uncompressed size and "is last" flag, but unfortunately there is no possibility to scan through blocks...

@eustas commented on GitHub (Jan 18, 2021): In most cases there is no way to do that without decompression. Each "block" contains uncompressed size and "is last" flag, but unfortunately there is no possibility to scan through blocks...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#353