Package w.util

Class Hex

java.lang.Object
w.util.Hex

public class Hex extends Object
Author:
whilein
  • Constructor Details

    • Hex

      public Hex()
  • Method Details

    • toHexChars

      public char @NotNull [] toHexChars(@NotNull @NotNull ByteSlice byteSlice)
    • toHexChars

      public char @NotNull [] toHexChars(byte @NotNull [] bytes)
    • toHexChars

      public char @NotNull [] toHexChars(byte @NotNull [] bytes, int off, int len)
    • toHex

      @NotNull public @NotNull String toHex(@NotNull @NotNull ByteSlice byteSlice)
    • toHexZeroPadded

      @NotNull public @NotNull String toHexZeroPadded(@NotNull @NotNull BigInteger value, int size)
    • toHexZeroPadded

      @NotNull public @NotNull String toHexZeroPadded(@NotNull @NotNull String prefix, @NotNull @NotNull BigInteger value, int size)
    • toHex

      @NotNull public @NotNull String toHex(byte @NotNull [] bytes)
    • parseHex

      public int parseHex(@NotNull @NotNull String input)
    • fromHex

      public byte @NotNull [] fromHex(@NotNull @NotNull String input)
    • toHex

      @NotNull public @NotNull String toHex(byte @NotNull [] bytes, int off, int len)