Closed PokeMMO closed 2 years ago
I don't like using ByteArrayOutputStream since it requires resizing + copying during toByteArray() but I don't see a better option to read (or even just get file length to optimize) from classpath in java7 without external dependencies.
Tested and works on linux64.
I don't like using ByteArrayOutputStream since it requires resizing + copying during toByteArray() but I don't see a better option to read (or even just get file length to optimize) from classpath in java7 without external dependencies.
Tested and works on linux64.