working arithmetic encoder/decoder
Merge branch 'public' of github.com:errnesto/BKV into public