2

I learned how to read a local file by chunks with the help of JavaScript in Firefox ( How to read a local file by chunks in JavaScript? ).

But I wonder what if I want to read a certain range of bytes, not first several, but, say, 100-200? Is it possible to set the offsets somehow?

1 Answer 1

0

Use nsISeekableStream instead. It allows you to seek() in a file.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.