文件任意位置读取

一般有两种方法:

1、使用FileInputStream类 , skip指定位置

2、使用RandomAccessFile类,seek指定位置