Interface: OpfsFile
Defined in: batteries/storage/opfs/index.ts:111
Minimal subset of the DOM File interface used by OpfsSpoolReader.
Extends
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
name | readonly | string | - | batteries/storage/opfs/index.ts:112 |
size | readonly | number | OpfsBlob.size | 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
Inherited from
stream()
ts
stream(): OpfsReadableStream;Defined in: batteries/storage/opfs/index.ts:105
Returns
Inherited from
text()
ts
text(): Promise<string>;Defined in: batteries/storage/opfs/index.ts:104
Returns
Promise<string>