ByteSequence.subSequence - corda

corda / net.corda.core.utilities / ByteSequence / subSequence

# subSequence

`fun subSequence(offset: Int, size: Int): ByteSequence`

Create a sub-sequence of this sequence. A copy of the underlying array may be made, if a subclass overrides bytes to do so, as OpaqueBytes does.

### Parameters

`offset` - The offset within this sequence to start the new sequence. Note: not the offset within the backing array.

`size` - The size of the intended sub sequence.