java获取一个文件的字节数组

byte[] readAllBytes = Files.readAllBytes(new File("C:\\Users\\mayn\\Desktop\\1.png").toPath());

posted @ 2019-03-29 15:48  HWll  阅读(4311)  评论(0)    收藏  举报