write

open suspend override fun write(path: Path, content: ByteArray)(source)

Writes the provided content to the specified path. Ensures that any necessary parent directories for the path are created before writing the content.

Parameters

path

The path where the content will be written.

content

The byte array content to be written to the specified path.