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

net.corda.core.utilities

## Class ByteSequence.Companion

- net.corda.core.utilities.ByteSequence.Companion

- Enclosing class:
    ByteSequence

      public static class ByteSequence.Companion

- - ### Method Detail

    - #### of

          @JvmStatic
           @JvmOverloads
           @NotNull
          public ByteSequence of(@NotNull
                                                                     kotlin.Array[] bytes,
                                                                     int offset,
                                                                     int size)

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

      See Also:
        `class ByteSequence`, ByteArray

    - #### of

          @JvmStatic
           @JvmOverloads
           @NotNull
          public ByteSequence of(@NotNull
                                                                     kotlin.Array[] bytes,
                                                                     int offset)

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

      See Also:
        `class ByteSequence`, ByteArray

    - #### of

          @JvmStatic
           @JvmOverloads
           @NotNull
          public ByteSequence of(@NotNull
                                                                     kotlin.Array[] bytes)

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

      See Also:
        `class ByteSequence`, ByteArray