Class HexFormat
java.lang.Object
org.bitcoinj.secp.internal.HexFormat
Utility to parse hex strings and convert to
byte[] and to format byte[] as UPPERCASE.
This class implements a subset of the functionality of the HexFormat class available in Java 17 and later.
Its behavior is similar to an instance of Java 17 HexFormat constructed with HexFormat.of(),
with one exception: it converts to uppercase hex.
It is an internal class and may be removed in the future when and if we have a Java 17 baseline. This is a
modified copy of HexFormat.java in bitcoinj-base/org.bitcoinj.base.internal`.
Thanks to this Baeldung article.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HexFormat
public HexFormat()
-
-
Method Details
-
formatHex
-
parseHex
-