Interface: OpfsBlob
Defined in: batteries/storage/opfs/index.ts:101
Minimal subset of the DOM Blob interface used by OpfsSpoolReader streaming-mode random-access reads. Real OPFS handles return a File here; we narrow to the methods we actually call.
Extended by
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
size | readonly | number | batteries/storage/opfs/index.ts:102 |
Methods
slice()
ts
slice(
start?: number,
end?: number,
contentType?: string): OpfsBlob;Defined in: batteries/storage/opfs/index.ts:103
Parameters
| Parameter | Type |
|---|---|
start? | number |
end? | number |
contentType? | string |
Returns
OpfsBlob
stream()
ts
stream(): OpfsReadableStream;Defined in: batteries/storage/opfs/index.ts:105
Returns
text()
ts
text(): Promise<string>;Defined in: batteries/storage/opfs/index.ts:104
Returns
Promise<string>