module

Brotli::Transform

Constants

IDENTITY = 0

enum BrotliWordTransformType

NUM_TRANSFORMS = TRANSFORMS_DATA.size // 3
OMIT_FIRST_1 = 12
OMIT_FIRST_9 = 20
OMIT_LAST_1 = 1
OMIT_LAST_9 = 9
TRANSFORMS_MAX_CUT_OFF = OMIT_LAST_9
UPPERCASE_ALL = 11
UPPERCASE_FIRST = 10

Class methods

dictionary_word(dst : Bytes, dst_pos : Int32, word : Bytes, word_pos : Int32, len : Int32, transform_idx : Int32) : Int32

BrotliTransformDictionaryWord: writes into dst[dst_pos...], reads word[word_pos, len]. Returns the resulting length.

Source
prefix_id(idx) : UInt8
Source
suffix_id(idx) : UInt8
Source
type(idx) : UInt8
Source