corda / net.corda.core.utilities / ByteSequence / copyBytes

copyBytes

fun copyBytes(): ByteArray

Same as copy but returns just the new byte array.