sequence

fun ByteArray.sequence(offset: Int = 0, size: Int = this.size): ByteSequence

Wrap size bytes from this ByteArray starting from offset into a new ByteArray.