0
Successful program execution.
A brotli compressor and decompressor.
brotli-rs [FLAGS]
A brotli compressor and decompressor that with an interface avoiding the rust stdlib. This makes it suitable for embedded devices and kernels. It is designed with a pluggable allocator so that the standard lib's allocator may be employed. All included code is safe.
-catable, --catableEnable concatable mode, so that the generated data can be added to block generated with --apendable
-nothreadpool, --nothreadpoolDisables the work thread pool
-appendable, --appendableEnables apendable mode, so that the datastream can be extended with more data from the --catable mode
-magic, --magicEnables magic number as the first bytes, so that a brotli compressed stream can be easily detected
-customdictionary=[FILE]Reads a custom dictionare from file
--dump-dictionaryPrints the dictionary used
-utf8Forces the utf8 context mode in the compression
-msbForces the msb context mode in the compression
-lsbForces the lsb context mode in the compression
-signedForces the signed context mode in the compression
-efficientfavor cpu efficiency over low latency
-lowlatencyfavor cpu low latency over efficiency
-idisplay the intermediate representation of metablocks
-0, -q0Sets quality = 0
-1, -q1Sets quality = 1
-2, -q2Sets quality = 2
-3, -q3Sets quality = 3
-4, -q4Sets quality = 4
-5, -q5Sets quality = 5
-6, -q6Sets quality = 6
-7, -q7Sets quality = 7
-8, -q8Sets quality = 8
-9, -q9Sets quality = 9
-10, -q10Sets quality = 10
-11, -q11Sets quality = 11
-9.5, -q9.5Sets quality = 10
-9.5x, -q9.5xSets quality = 11
-q9.5ySets quality = 12
-l[NUMBER]Sets the input block size
-j[NUMBER]Sets maximum size of the threadpool
-bytescore=[NUMBER]Sets the literal_byte_score value of the hasher, default 0
-w[NUMBER]Sets the lgwin value, default 22
-validate, --validateEnables validation
-bs[NUMBER]Sets the buffer size
-findpriorEnables prior bitmask detection
-findspeed=[NUMBER]Sets cdf adaptation detection to [NUMBER]
-basicstrideSets stride
-strideSets stride
-advstrideSets stride
-speed=[NUMBER]Sets speed
-avoiddistanceprefixsearchAvoids distance prefix search
-b[NUMBER]Does benchmark
-cEnables compression mode
-h, --helpPrints the help text
0
Successful program execution.
1
Unsuccessful program execution.
101
The program panicked.
$ brotli-rs -c /tmp/input /tmp/output