Scroll to navigation

BROTLI-RS(1) General Commands Manual BROTLI-RS(1)

NAME

brotli-rs - A brotli compressor and decompressor.

SYNOPSIS

brotli-rs [FLAGS]

DESCRIPTION

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.

FLAGS

Enable concatable mode, so that the generated data can be added to block generated with --apendable

Disables the work thread pool

Enables apendable mode, so that the datastream can be extended with more data from the --catable mode

Enables magic number as the first bytes, so that a brotli compressed stream can be easily detected

Reads a custom dictionare from file

Prints the dictionary used

Forces the utf8 context mode in the compression

Forces the msb context mode in the compression

Forces the lsb context mode in the compression

Forces the signed context mode in the compression

favor cpu efficiency over low latency

favor cpu low latency over efficiency

display the intermediate representation of metablocks

-0, -q0
Sets quality = 0

-1, -q1
Sets quality = 1

-2, -q2
Sets quality = 2

-3, -q3
Sets quality = 3

-4, -q4
Sets quality = 4

-5, -q5
Sets quality = 5

-6, -q6
Sets quality = 6

-7, -q7
Sets quality = 7

-8, -q8
Sets quality = 8

-9, -q9
Sets quality = 9

-10, -q10
Sets quality = 10

-11, -q11
Sets quality = 11

-9.5, -q9.5
Sets quality = 10

-9.5x, -q9.5x
Sets quality = 11

Sets quality = 12

Sets the input block size

Sets maximum size of the threadpool

Sets the literal_byte_score value of the hasher, default 0

Sets the lgwin value, default 22

Enables validation

Sets the buffer size

Enables prior bitmask detection

Sets cdf adaptation detection to [NUMBER]

Sets stride

Sets stride

Sets stride

Sets speed

Avoids distance prefix search

Does benchmark

Enables compression mode

Prints the help text

EXIT STATUS

0
Successful program execution.

1
Unsuccessful program execution.

101
The program panicked.

EXAMPLES

$ brotli-rs -c /tmp/input /tmp/output

AUTHOR

Daniel Reiter Horn <danielrh@dropbox.com>