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

net.corda.core.utilities

## Class ByteArrays

- net.corda.core.utilities.ByteArrays

-     public class ByteArrays

- - ### Constructor Detail

    - #### ByteArrays

          public ByteArrays()

  - ### Method Detail

    - #### sequence

          @NotNull
          public static ByteSequence sequence(@NotNull
                                                       kotlin.Array[] $this$sequence,
                                                       int offset,
                                                       int size)

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

      See Also:
        `size`, ByteArray, `offset`, ByteArray

    - #### toHexString

          @NotNull
          public static java.lang.String toHexString(@NotNull
                                                              kotlin.Array[] $this$toHexString)

      Converts this ByteArray into a String of hexadecimal digits.

      See Also:
        ByteArray, String

    - #### parseAsHex

          @NotNull
          public static kotlin.Array[] parseAsHex(@NotNull
                                                           java.lang.String $this$parseAsHex)

      Converts this String of hexadecimal digits into a ByteArray.

      Throws:
        `IllegalArgumentException` - if the String contains incorrectly-encoded characters.
      See Also:
        String, ByteArray