diachedelic / capacitor-blob-writer

Capacitor plugin to write binary data to the filesystem
MIT License
132 stars 17 forks source link

Question: Does the plugin handle larger files by "chunking" them on write and "stitching" them back together on read? #22

Open curthusting opened 4 years ago

curthusting commented 4 years ago

In looking at the Benchmarks each different device has a different "max" file size it can handle before it errors, my question pertains to how/if this plugin handles files with sizes that exceed what a specific device can handle.

Does it "chunk" them into smaller more manageable writes and "stitch" them back together on read? Does it just throw an error if the file size is too large?

diachedelic commented 4 years ago

That's a great idea, we should do that. However, it should stitch the parts together on write, rather than read.

AgustinBaffo commented 1 month ago

See https://github.com/diachedelic/capacitor-blob-writer/issues/61#issuecomment-2412556630