Reduce complexity in Encoding
Reduce complexity in Encoding

Split `offense` into smaller methods.

meganemura/rubocop,panthomakos/rubocop,maxjacobson/rubocop,sue445/rubocop,akihiro17/rubocop,b-t-g/rubocop,bquorning/rubocop,jmks/rubocop,bankair/rubocop,melch/rubocop,urbanautomaton/rubocop,lucasuyezu/rubocop,mikegee/rubocop,alexcstark/rubocop,tdeo/rubocop,scottmatthewman/rubocop,ilansh/rubocop,haziqhafizuddin/rubocop,Drenmi/rubocop,iGEL/rubocop,haziqhafizuddin/rubocop,bankair/rubocop,bbatsov/rubocop,alexdowad/rubocop,palkan/rubocop,mikegee/rubocop,lumeet/rubocop,pocke/rubocop,bquorning/rubocop,alexcstark/rubocop,panthomakos/rubocop,akihiro17/rubocop,ilansh/rubocop,rtlechow/rubocop,urbanautomaton/rubocop,jfelchner/rubocop,mclark/rubocop,jfelchner/rubocop,tejasbubane/rubocop,maxjacobson/rubocop,backus/rubocop,smakagon/rubocop,meganemura/rubocop,tejasbubane/rubocop,hanumakanthvvn/rubocop,rtlechow/rubocop,palkan/rubocop,akihiro17/rubocop,rrosenblum/rubocop,lumeet/rubocop,mikegee/rubocop,iGEL/rubocop,dreyks/rubocop,savef/rubocop,alexdowad/rubocop,deivid-rodriguez/rubocop,petehamilton/rubocop,tdeo/rubocop,legendetm/rubocop,melch/rubocop,tdeo/rubocop,b-t-g/rubocop,jmks/rubocop,bquorning/rubocop,bbatsov/rubocop,palkan/rubocop,meganemura/rubocop,Drenmi/rubocop,deivid-rodriguez/rubocop,rrosenblum/rubocop,jmks/rubocop,jfelchner/rubocop,mclark/rubocop,sue445/rubocop,maxjacobson/rubocop,rrosenblum/rubocop,petehamilton/rubocop,tejasbubane/rubocop,hanumakanthvvn/rubocop,lucasuyezu/rubocop,vergenzt/rubocop,smakagon/rubocop,sinsoku/rubocop,NobodysNightmare/rubocop,scottmatthewman/rubocop,deivid-rodriguez/rubocop,sinsoku/rubocop,legendetm/rubocop,vergenzt/rubocop,sue445/rubocop,NobodysNightmare/rubocop,savef/rubocop,vergenzt/rubocop,panthomakos/rubocop,petehamilton/rubocop,pocke/rubocop,dreyks/rubocop,backus/rubocop