A new general scheme is introduced that allows bidirectional decoding of va
riable length coded bitstreams from either end. Except for a small fixed nu
mber of extra bits appended to a sequence of code words, the scheme is as e
fficient as Huffman coding. The extra operations required at coder and deco
der are code word reversal and one EXOR for each bit.