read

abstract suspend fun read(path: Path): ByteArray(source)

Reads the content of the file at the specified path.

Return

The content of the file as a ByteArray.

Parameters

path

The path of the file to read.