def uncompact(compacted_set, resolution)
      max_size = max_uncompact_size(compacted_set, resolution)

      out = H3Indexes.of_size(max_size)
      h3_set = H3Indexes.with_contents(compacted_set)
      failure = Bindings::Private.uncompact(h3_set, compacted_set.size, out, max_size, resolution)

      raise "Couldn't uncompact given indexes" if failure
      out.read
    end
def uncompact(compacted_set, resolution)
      max_size = max_uncompact_size(compacted_set, resolution)

      out = H3Indexes.of_size(max_size)
      h3_set = H3Indexes.with_contents(compacted_set)
      failure = Bindings::Private.uncompact(h3_set, compacted_set.size, out, max_size, resolution)

      raise "Couldn't uncompact given indexes" if failure
      out.read
    end
Uncompact a set of H3 indexes to the given resolution.

 @param [Array<Integer>] compacted_set An array of valid H3 indexes.
 @param [Integer] resolution The desired resolution to uncompact to.

 @example Compact the given set.
   h3_set = [
     617700440093229055, 617700440092704767, 617700440100569087, 617700440013012991,
     617700440013275135, 617700440092180479, 617700440091656191, 617700440092966911,
     617700440100831231, 617700440100044799, 617700440101617663, 617700440081956863,
     613196840447246335
   ]
   H3.uncompact(h3_set)
   [
     617700440093229055, 617700440092704767, 617700440100569087, 617700440013012991,
     617700440013275135, 617700440092180479, 617700440091656191, 617700440092966911,
     617700440100831231, 617700440100044799, 617700440101617663, 617700440081956863,
     617700440072781823, 617700440073043967, 617700440073306111, 617700440073568255,
     617700440073830399, 617700440074092543, 617700440074354687
   ]

 @raise [RuntimeError] Couldn't attempt to umcompact H3 indexes.

 @return [Array<Integer>] Uncompacted set of H3 indexes.