http-chunked

Reading file chunk by chunk

你。 提交于 2019-11-27 15:43:00
I want to read a file piece by piece. The file is split up into several pieces which are stored on different types of media. What I currently do is call each seperate piece of the file and then merge it back to the original file. The issue is that I need to wait until all the chunks arrive before I can play/open the file. Is it possible to read the chunks as they are arriving as opposed to waiting for them to all arrive. I am working on media file (movie file). what you want is source data line . This is perfect for when your data is too large to hold it in memory at once, so you can start

Reading file chunk by chunk

一曲冷凌霜 提交于 2019-11-26 17:16:19
问题 I want to read a file piece by piece. The file is split up into several pieces which are stored on different types of media. What I currently do is call each seperate piece of the file and then merge it back to the original file. The issue is that I need to wait until all the chunks arrive before I can play/open the file. Is it possible to read the chunks as they are arriving as opposed to waiting for them to all arrive. I am working on media file (movie file). 回答1: what you want is source