class StrictBitVector implements BitVector {

  public boolean getBit(int index, boolean isBigEndian) {
    rangeCheck(index);
    int actualIndex = isBigEndian ? size - 1 - index : index;
    return ByteArrayHelper.getBit(bits, actualIndex);
  }

  public  StrictBitVector(byte[] bits);
  public  StrictBitVector(int size);
  public  StrictBitVector(int size, Drbg rand);

}