Why is my data a different length when being read as File vs from the Classpath?

前端 未结 0 891
感情败类
感情败类 2021-01-17 03:09

So for a program I have to read a file to a byte array in my Java program (Please note that I\'m restricted to Java 8!). At first my approach was this:

byte[]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题