assertk.assertions / bytes

bytes

fun <ERROR CLASS><File>.bytes(): <ERROR CLASS>

Platform and version requirements: JVM

Returns an assert on the file's contents as bytes.

fun <ERROR CLASS><Path>.bytes(): <ERROR CLASS><ByteArray>

Platform and version requirements: JVM

Assert on file bytes