compressai.ans
==============

Range Asymmetric Numeral System (rANS) bindings. rANS can be used as a
replacement for a traditional range coder.

Based on the original C++ implementation from Fabian "ryg" Giesen
`(github link) <https://github.com/rygorous/ryg_rans>`_.

.. currentmodule:: compressai.ans


RansEncoder
-----------
.. autoclass:: RansEncoder

RansDecoder
-----------
.. autoclass:: RansDecoder
