com.github.rs3vans.krypto / java.io.InputStream / toBytes

toBytes

fun InputStream.toBytes(): Bytes

Extension function that converts an InputStream to an instance of Bytes.