The bytes captured by the most recent ArrayBackingStore.write, or null if none.
Acquires bytes for a workbook and decodes them (via ReadRequest.decode).
The decoded workbook, or null if the store could not produce one (e.g. the user
cancelled an open picker, or the store does not recognize the source).
Optional. IWorkbookIO.read uses the active store's read when present, and otherwise
falls back to the built-in platform store — so a store that only overrides write still gets
the default read behavior.
Persists the workbook described by the request.
The IWorkbookIO.Origin actually written — request.origin when the store
persisted to it, a new origin when it resolved a destination — or null if cancelled.
Optional. A read-only store omits it; IWorkbookIO.canWrite then reports false and
IWorkbookIO.write throws. A store must implement at least one of read / write.
An in-memory IWorkbookIO.IBackingStore that captures the encoded workbook bytes instead of persisting them anywhere.
Remarks
This is the minimal reference implementation of a backing store — a good starting point for writing your own (e.g. a VSCode host or a cloud upload). A store only has to encode the workbook and return the written IWorkbookIO.Origin handle; everything else (origin resolution, suggested name, format) is handled by IWorkbookIO.write before the store is called.
Example