writeBytes

Writes the given bytes to the file, creating parent directories if needed.

Parameters

data

The bytes to write.