corda / net.corda.core.utilities / ByteSequence / of

of

@JvmStatic @JvmOverloads fun of(bytes: ByteArray, offset: Int = 0, size: Int = bytes.size): ByteSequence

Construct a ByteSequence given a ByteArray and optional offset and size, that represents that potentially sub-sequence of bytes.