iterable/run_length_utils library

Extensions

RunLengthEncodeExtensions on Iterable<T>
Run-length encode/decode for iterables.

Functions

runLengthDecode<T>(Iterable<(T, int)> pairs) List<T>
Run-length decode: expand (value, count) pairs into a list.