7. The method according to claim 6 , wherein a number of bits of the coding information is determined based on the actual number of possible types of item.
6. The method according to claim 4 , further comprising calculating coding or decoding information for coding or decoding an item, based on the number of possible types of item associated with the current item preceding the item to be coded or decoded.