readBytes

@JvmName(name = "readBytesFrom")
fun File.readBytes(): ByteArray(source)

Read the full contents of the file (as bytes).

Should only be utilized for smallish files.