Doccing arithmetic encoder.