breautek commented on issue #324:
URL: 
https://github.com/apache/cordova-plugin-file/issues/324#issuecomment-1682256354

   > how to slice a large file? can you help me
   
   Not sure why this was closed without any response but the (now defunct) W3C 
spec as far as I am aware doesn't define any support for random read access, 
and thus the implementation doesn't expose a way to read a slice of a file. It 
can only read a file from start to finish.
   
   You could slice a file once you have the arraybuffer, but you may need to 
load the entire file in memory which might not be suitable if you're dealing 
with large files.
   
   If random read/write access is necessary, then it may require forking the 
plugin, or creating a plugin that can interface with the native APIs for random 
reads/writes to accommodate slicing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to