actually bitWidth can be == 0 when the values are always 0. (definition level of required columns, repetition level of non repeated columns, values of dictionary encoded constant columns). In that case it will do RLE with a value encoded on 0 bytes. No special case is required.