upvote
I don't know of any great write-ups unfortunately, but the rANS you're looking for is range asymmetric numeral systems.
reply
There are lots of materials about ANS, e.g. gathered here: https://encode.su/threads/2078-List-of-Asymmetric-Numeral-Sy...
reply