code: public static BitWriter writerTo(int[] ints, long size) {
  		if (ints == null) throw new IllegalArgumentException("null ints");
  		if (size < 0) throw new IllegalArgumentException("negative size");
  		long maxSize = ((long) ints.length) << 5;
  		if (size > maxSize) throw new IllegalArgumentException("size exceeds maximum permitted by array length");
  		return new IntArrayBitWriter(ints);
  	}
docs: Writes bits to an array of ints up-to a specified limit.
  
  @param ints
  the array of ints
  @param size
  the greatest number of bits the writer will write to the array
  @return a writer that writes bits to the supplied array