public override int Rank1(int pos) { if (pos < 0) { return 0; } bool last_bit; return this.Rank1AccessBackend (pos, out last_bit); }