save

open fun save(path: Path): Path(source)

Writes bytes to path (parent directories are created) and returns path.