struct Compress::Brotli::WriterOptions

Defined in:

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(mode = LibBrotli::EncoderMode::ModeGeneric, quality = 11_u32, lgwin = 22_u32) #

Class Method Detail

def self.default #

Instance Method Detail

def default? #

def lgwin : UInt32 #

Base 2 logarithm of the maximum input block size. Range is 10 to 24. Defaults to 22.


def lgwin=(val) #

def mode : LibBrotli::EncoderMode #

compression mode


def mode=(mode : LibBrotli::EncoderMode) #

compression mode


def quality : UInt32 #

controls the compression speed vs compression density tradeoff. Higher the quality, slower the compression. Range is 0 to 11. Defaults to 11


def quality=(val) #