class BitSet {

	public void set(int index) {
		Preconditions.checkArgument(index < bitLength && index >= 0, 
			String.format("Input Index[%d] is larger than BitSet available size[%d].", index, bitLength));

		int byteIndex = (index & BYTE_POSITION_MASK) >>> 3;
		byte current = memorySegment.get(offset + byteIndex);
		current |= (1 << (index & BYTE_INDEX_MASK));
		memorySegment.put(offset + byteIndex, current);
	}

	public  BitSet(int byteSize);

}