not set field length in Headerlength Codec when Content field is empty or not present