public static final IntStream toDigits ( long v , int length , int radix ) { Spliterator . OfInt spliterator = Spliterators . spliterator ( new PRimIt ( v , length , radix ) , Long . MAX_VALUE , 0 ) ; return StreamSupport . intStream ( spliterator , false ) ; }
Returns IntStream where each item is a digit . I . e zero leading digits .