Graham
ccf7056a93
Use private companion objects where possible
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
0206bbd4b2
Set DeterministicJarOutputStream's default compression level to 9
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
8685d2b2dc
Remove unused DeterministicJarOutputStream methods
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
10145fdb43
Add Sequence<JarEntry> extension property to JarInputStream
...
This improves the readability of code that iterates through all entries
in a jar.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Scu11
26348b8a2e
Move Library#write methods to dedicated classes
...
Signed-off-by: Scu11 <scu11@openrs2.dev>
4 years ago
Graham
465078256f
Rename common module to util again
...
As I'm splitting it up into smaller modules (e.g. compress and crypto) I
think util is a more appropriate name for the remainder.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
f833285fa6
Rename in/out to input/output to avoid use of backticks
4 years ago
Graham
33955e76c7
Add DeterministicJarOutputStream.repack() function
...
I'm going to use this to make jarsigner's output deterministic.
4 years ago
Graham
c769feab3e
Add manifest support to writeJar
4 years ago
Graham
e05653cdcc
Rename util to common
4 years ago
Graham
caaa53095d
Convert DeterministicJarOutputStream to Kotlin
4 years ago