Builder
Provides an API for building a HexFormat.
This class is a builder for HexFormat, and serves as the receiver type of the lambda expression used in the HexFormat { }
builder function to create a new format. Each option in this class corresponds to an option in HexFormat and defines it in the resulting format. For example, use val format = HexFormat { bytes.byteSeparator = ":" }
to set BytesHexFormat.byteSeparator option of the HexFormat.bytes property.
Refer to HexFormat for details about how the configured format options affect formatting and parsing results.
Since Kotlin
1.9Samples
Properties
Defines HexFormat.bytes of the format being built.
Defines HexFormat.number of the format being built.
Defines HexFormat.upperCase of the format being built, false
by default.