fs: add `Blob` methods to `FileHandle`
Adding .text()
and .arrayBuffer()
methods to FileHandle
to make it closer to W3C File
interface.
I'm proposing to add .stream()
in https://github.com/nodejs/node/pull/40016, and I don't think we want to have the .slice()
as it would require a synchronous read of the file.