Brotli::Enc::Encoder
Inherits Reference < Object
One-shot encoder: Brotli.encode(data, quality, lgwin).
Constructors
new(params : Params = Params.new)
Sourcenew(quality : Int32, lgwin : Int32 = 22, mode : Mode = Mode::Generic)
SourceInstance methods
encode(input : Bytes) : Bytes
Sourceparams
Sourceparams=(params : Params)
Source