02 2020 档案
摘要:public static String getFileRealNameFromUri(Context context, Uri fileUri) { if (context == null || fileUri == null) return null; DocumentFile document
阅读全文
摘要:在commons-io包中org.apache.commons.io.IOUtils类的toByteArray(InputStream input)已经有实现了,我们可以参考下思路,完成我们的方法,我们可以用类似下面的代码实现inputStream转化为byte[]数组 public static
阅读全文
摘要:查看二进制文件,用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
阅读全文
摘要: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
阅读全文