hello! by any chance anyone knows what might be ca...
# announcements
d
hello! by any chance anyone knows what might be causing the difference in the behavior of reading binary content from file?
Copy code
javaClass.classLoader.getResource("myFile").readBytes()  // 198
File("myFile").inputStream().readBytes() // 184
If I'm reading input stream from a resource (which I have to in deployed app) I get some extra bytes that I do not get if I read the file directly. Any ideas?
Nvm it was maven resource filtering issue
rubber duck 1