2/4 encode line