New Features
- Added
createBlobTempStream, a ready-madecreateTempStreamfactory that spills the data of buffered entries into aBlobinstead of keeping it in memory. Memory is bounded in Chromium browsers; in other engines and non-browser runtimes theBlobis held in memory, socreateOPFSTempStreamor a file-backed implementation is preferable there. - Added
createSyncAccessHandleTempStream, an OPFS-backedcreateTempStreamfactory built onFileSystemSyncAccessHandle. It offers the same options and bounded-memory profile ascreateOPFSTempStreambut writes roughly 2.5× faster in Chromium and Firefox and reads back several times faster in Firefox and Safari, making disk-backed staging nearly as fast as the in-memory default (worker-only variant).
Bug Fixes
- Codec worker now copies chunks that do not own their underlying buffer before transferring them, preventing data corruption when a chunk's
ArrayBufferis shared or externally owned.