We usually use job.GetInputStream in whole, e.g. to save it to a file as in the following code:
but what about saving only a part of it(e.g. the last 3000 bytes of this 'inputstream')?
Anybody helps???
B4X:
Dim OutStream As OutputStream
OutStream = File.OpenOutput(File.DirInternal, dlFileName, False)
File.Copy2(Job.GetInputStream,OutStream) ' save the file
OutStream.Close
Anybody helps???