public interface PrefixCoder extends Coder
Not all coders are codeword-based (for instance, arithmetic coding
is not codeword-based). However, coders that are based on prefix-free codewords are invited
to return by means of Codec.coder()
an
implementation of this interface.
Note that the coder returned by a PrefixCodec
is
an implementation of this interface.
BitVector[] codeWords()
codeWords()
is
the first (leftmost) bit of the corresponding codeword: in other words, codewords are stored in
right-to-left fashion.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.