class

Brotli::Enc::ZopfliNode

Inherits Reference < Object

backward_references_hq.h:20. C packs {length, distance, dcode_insert_length, u.cost/shortcut/next} into 16 bytes with a union for the last field; the union aliases cost with shortcut/next, but every read happens before the aliasing write (EvaluateNode saves the cost first, ComputeShortestPathFromNodes runs after all cost reads), so separate fields preserve the semantics exactly.

Constructors

Instance methods

command_length

ZopfliNodeCommandLength

Source
copy_distance

ZopfliNodeCopyDistance

Source
copy_length

ZopfliNodeCopyLength

Source
cost
Source
cost=(cost : Float32)
Source
dcode_insert_length
Source
dcode_insert_length=(dcode_insert_length : UInt32)
Source
distance
Source
distance=(distance : UInt32)
Source
distance_code

ZopfliNodeDistanceCode

Source
insert_length
Source
length
Source
length=(length : UInt32)
Source
length_code

ZopfliNodeLengthCode

Source
next
Source
next=(next __arg0 : UInt32)
Source
shortcut
Source
shortcut=(shortcut : UInt32)
Source