02 2020 档案

摘要:public static String getFileRealNameFromUri(Context context, Uri fileUri) { if (context == null || fileUri == null) return null; DocumentFile document 阅读全文
posted @ 2020-02-27 20:57 夜行过客 阅读(7713) 评论(2) 推荐(2) 编辑
摘要:在commons-io包中org.apache.commons.io.IOUtils类的toByteArray(InputStream input)已经有实现了,我们可以参考下思路,完成我们的方法,我们可以用类似下面的代码实现inputStream转化为byte[]数组 public static 阅读全文
posted @ 2020-02-26 16:49 夜行过客 阅读(34762) 评论(1) 推荐(2) 编辑
摘要:查看二进制文件,用od或hexdump命令。 $ od -tx1 -tc -Ax binFile 000000 61 62 63 64 65 31 32 33 34 35 61 62 63 64 65 31 a b c d e 1 2 3 4 5 a b c d e 1 000010 32 33 3 阅读全文
posted @ 2020-02-18 15:45 夜行过客 阅读(11688) 评论(0) 推荐(1) 编辑
摘要:ctrl +Octrl + I(i) When you move your cursor to a particular position in a file, Vim remembers this and lets you move around between where you are whe 阅读全文
posted @ 2020-02-02 15:43 夜行过客 阅读(6765) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示