Interface: OpfsFile
Minimal subset of the DOM File interface used by OpfsSpoolReader.
Extends
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
name | readonly | string | - |
size | readonly | number | OpfsBlob.size |
Methods
slice()
ts
slice(
start?: number,
end?: number,
contentType?: string): OpfsBlob;Parameters
| Parameter | Type |
|---|---|
start? | number |
end? | number |
contentType? | string |
Returns
Inherited from
stream()
ts
stream(): OpfsReadableStream;Returns
Inherited from
text()
ts
text(): Promise<string>;Returns
Promise<string>