forked from openrs2/openrs2
This improves the readability of code that iterates through all entries in a jar. Signed-off-by: Graham <gpe@openrs2.dev>bzip2
parent
6e877b52ce
commit
10145fdb43
@ -0,0 +1,6 @@ |
||||
package dev.openrs2.util.io |
||||
|
||||
import java.util.jar.JarInputStream |
||||
|
||||
val JarInputStream.entries |
||||
get() = generateSequence { nextJarEntry } |
Loading…
Reference in new issue