int offset = position - start;
return offset >= 0 && offset < getLength();
}
@Override
public int getLength() {
<BUG>return length;
}</BUG>
@Override
public byte getBase(int offset) {
return bases != null && offset < bases.length ? bases[offset] : 0;

int offset = position - start;
return offset >= 0 && offset < getLength();
}
@Override
public int getLength() {
return basesLength + padding;
}
@Override
public byte getBase(int offset) {
return bases != null && offset < bases.length ? bases[offset] : 0;
