1. A method comprising: generating partial values of base codewords for levels of a coding tree specifying variable length codewords; generating a skip indicator instructing a decoder to skip a number of bits in a bitstream to be decoded before proceeding to a selected level of the coding tree; and storing the partial values and the skip indicator in a data structure in a memory.