rchunks method
Returns an iterator over chunkSize
elements of the slice at a time, starting at the end of the slice.
The chunks are slices and do not overlap. If chunk_size does not divide the length of the slice,
then the last chunk will not have length chunkSize
.
Panics if chunkSize
is less than or equal to zero
Implementation
Iter<Slice<T>> rchunks(int chunkSize) {
return Iter.fromIterable(_rchunksHelper(chunkSize));
}