You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for a method to read a file in chunks by specifying a start and end offset similar to that of node's fs.createReadStream method:
options can include start and end values to read a range of bytes from the file instead of the entire file. Both start and end are inclusive and start counting at 0. If fd is specified and start is omitted or undefined, fs.createReadStream() reads sequentially from the current file position.
An example to read the last 10 bytes of a file which is 100 bytes long:
This would allow me to implement a resumable upload interface so that I can take advantage of API's like those from Dropbox, YouTube, AWS, Vimeo, etc. and the TUS protocol
The text was updated successfully, but these errors were encountered:
I'm looking for a method to read a file in chunks by specifying a start and end offset similar to that of node's
fs.createReadStream
method:An example to read the last 10 bytes of a file which is 100 bytes long:
This would allow me to implement a resumable upload interface so that I can take advantage of API's like those from Dropbox, YouTube, AWS, Vimeo, etc. and the TUS protocol
The text was updated successfully, but these errors were encountered: