I don't know of any great write-ups unfortunately, but the rANS you're looking for is range asymmetric numeral systems.