Feature Request: add apis about reading and writing binary by chunks?

Currently readBinary function is supported but it’s inefficient to read large file, especially on mobile.

Is it possible for Obsidian devs to add api to support reading and writing files by chunks (“streaming” api)? So that it’s easier for the plugin to deal with large files.

Thanks!

1 Like

Is it possible to have the file disassembled and reconstructed as a short term fix until the support for reading by chunks is added?

don’t think it’s a valid solution, because the plugin has to call readbinary to load the whole file into memory firstly, which still cannot avoid crashing obsidian especially on mobile

may i ask are there any obsidian devs considering this feature? thanks!