Directly addressable variable-length codes