帖子
帖子
用户
博客
课程
显示全部楼层
220
帖子
2
勋章
6911
Y币

[插件使用] readByLengthSync在安卓上start>0返回null

[复制链接]
发表于 2018-4-19 15:01:38
var ret = fs.readByLengthSync({
                            path: filePath,
                            substring: {
                                start: 300,
                                length: 300000
                            }
                        });
这个ret返回总数null
只要start大于0就是null
只有start=0才不是null

三星S8+测的
2
帖子
0
勋章
2271
Y币
您好,测试手机的版本多少?

filePath是什么文件,什么路径。
您需要登录后才可以回帖 登录

本版积分规则