internal BaseN(int n) { this.n = n; if (Bits.IsPowerOf2(n)) { encoding = Codes.FixedWidth(Bits.FloorLog2(n) + 1); } else { encoding = Codes.TruncatedBinary(n); } }
public void FixedWidthTest() { EncodingTest(Codes.FixedWidth(27)); }