readFile
readFile(path
): Promise
<null
| ArrayBuffer
>
Returns a Promise which resolves to an ArrayBuffer
containing
the contents of the file at path
.
Parameters
Parameter | Type |
---|---|
path | PathLike |
Returns
Promise
<null
| ArrayBuffer
>
readFile(path
): Promise
<null
| ArrayBuffer
>
Returns a Promise which resolves to an ArrayBuffer
containing
the contents of the file at path
.
Parameter | Type |
---|---|
path | PathLike |
Promise
<null
| ArrayBuffer
>