Package org.bitcoinj.base.internal
Class HexFormat
- java.lang.Object
-
- org.bitcoinj.base.internal.HexFormat
-
public class HexFormat extends java.lang.ObjectThis class implements a subset of the functionality of theHexFormatclass available in Java 17 and later. Its behavior is the same as an instance of Java 17HexFormatcreated withHexFormat.of(). It is an internal class to supportByteUtilsand 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.StringformatHex(byte[] bytes)byte[]parseHex(java.lang.String hexString)
-