assertk.assertions / bytes

bytes

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

Platform and version requirements: JVM


fun Assert<File>.bytes(): Assert<ByteArray>

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

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

Platform and version requirements: JVM


fun Assert<Path>.bytes(): Assert<ByteArray>

Assert on file bytes