class

Brotli::Enc::Encoder

Inherits Reference < Object

One-shot encoder: Brotli.encode(data, quality, lgwin).

Constructors

new(params : Params = Params.new)
Source
new(quality : Int32, lgwin : Int32 = 22, mode : Mode = Mode::Generic)
Source

Instance methods

encode(input : Bytes) : Bytes
Source
params
Source
params=(params : Params)
Source