RangeCoder

class RangeCoder {
uint[258] cumCount;
uint lower;
uint upper;
ulong range;
}

Meta