Package net.corda.v5.base.util
Class ByteArrays
-
- All Implemented Interfaces:
public final class ByteArrays
A wrapper class that has been introduced in the migration from Kotlin to Java to house static functions.
-
-
Method Summary
Modifier and Type Method Description static String
toHexString(@NotNull() Array<byte> bytes)
Converts this byte[]
into a String of hexadecimal digits.static Array<byte>
parseAsHex(@NotNull() String str)
Converts this String of hexadecimal digits into a byte[]
.-
-
Method Detail
-
toHexString
@NotNull() static String toHexString(@NotNull() Array<byte> bytes)
Converts this
byte[]
into a String of hexadecimal digits.
-
parseAsHex
@NotNull() static Array<byte> parseAsHex(@NotNull() String str)
Converts this String of hexadecimal digits into a
byte[]
.
-
-
-
-