class

Hwaro::Content::Processors::WebpEncoder::PrefixCode

Inherits Reference < Object

A canonical prefix code. A code with a single symbol takes no bits at all: that is how the decoder builds it.

Constructors

new(lengths : Array(Int32))
Source

Instance methods

lengths
Source
write(bw : BitWriter, symbol : Int32) : Nil
Source