I'm currently migrating a project to rails, however, I can't seem to figure out how to fetch a specific byte range from a big file.
Let's say I have a very big file located to https://domain.com/myfile and that I'm only interesting in reading 20 bytes from the offset 0x50. How would I do that ?
Hi,
I'm currently migrating a project to rails, however, I can't seem to figure out how to fetch a specific byte range from a big file.
Let's say I have a very big file located to https://domain.com/myfile and that I'm only interesting in reading 20 bytes from the offset 0x50. How would I do that ?
This is how it would be done in PHP: