Are you punting on having this size be correct if there are nulls that repeat more than 255 times? If so (and I think this is fine, as it's probably an edge case), please add a comment here to that effect.