com.github.rs3vans.krypto / kotlin.ByteArray / toBytes

toBytes

fun ByteArray.toBytes(): Bytes

Extension function that converts a ByteArray to an instance of Bytes.

The new instance of Bytes wraps the original ByteArray.