Package org.bitcoinj.base.internal
Class HexFormat
- java.lang.Object
-
- org.bitcoinj.base.internal.HexFormat
-
public class HexFormat extends java.lang.Object
This class implements a subset of the functionality of theHexFormat
class available in Java 17 and later. Its behavior is the same as an instance of Java 17HexFormat
created withHexFormat.of()
. It is an internal class to supportByteUtils
and may be removed in the future when and if we have a Java 17 baseline.Thanks to this Baeldung article.
-
-
Constructor Summary
Constructors Constructor Description HexFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
formatHex(byte[] bytes)
byte[]
parseHex(java.lang.String hexString)
-