CNode

createReadStream可以设置offset吗?

问答
Hhisune发布于10 年前最后回复10 年前1 回复4138 浏览0 收藏

如题,例如我想从某个offset开始读,怎么设置呢?好像并没有看到有参数。求解

查看回复

回复 (1)

H
hisune#1·10 年前

ptions can include start and end values to read a range of bytes from the file instead of the entire file. 看到了,好像有start和end..

参与回复
登录后即可参与回复。登录