• Instead of substrings the best workaround is probably to combine Storage.read with offset,length parameters and wrap the result by E.toArrayBuffer

    As for Inline C it may not work as you expect with storage in SPI flash (Bangle watches), the 200K string is not directly in memory but read over SPI by JS interpreter on demand when iterating over it.
    It might work with Storage in internal flash but there is not much space for big files there.


Avatar for fanoush @fanoush started