/* Is this the last chunk in this piece? */ IF (j chunks) THEN len := MAX_LINE_WIDTH; ELSE len := utl_raw.length(data) – pos + 1; IF (len > MAX_LINE_width) THEN len := MAX_LINE_WIDTH; END IF; END IF; /* If we got something, let’s write it */ IF (len > 0 ) THEN