OpaqueBytesSubSequence
Keywords: net.corda.core.utilities.OpaqueBytesSubSequence class
Date: 2023-09-18

net.corda.core.utilities

## Class OpaqueBytesSubSequence

- net.corda.core.utilities.ByteSequence
- - net.corda.core.utilities.OpaqueBytesSubSequence

-     public class OpaqueBytesSubSequence
      extends ByteSequence

  Class is public for serialization purposes.

- - ### Constructor Detail

    - #### OpaqueBytesSubSequence

          public OpaqueBytesSubSequence(@NotNull
                                        kotlin.Array[] bytes,
                                        int offset,
                                        int size)

      Class is public for serialization purposes.

      Parameters:
        `bytes` - The underlying bytes. Some implementations may choose to make a copy of the underlying ByteArray forsecurity reasons. For example, `class OpaqueBytes`.

  - ### Method Detail

    - #### getBytes

          @NotNull
          public kotlin.Array[] getBytes()

      The underlying bytes.

      Some implementations may choose to make a copy of the underlying ByteArray forsecurity reasons. For example, `class OpaqueBytes`.

      See Also:
        ByteArray, `class OpaqueBytes`