Default
The default hexadecimal format options.
This HexFormat instance adopts default values for all format options.
Formatting functions use lower-case hexadecimal digits (0-9
, a-f
) for both byte arrays and
numeric values. Specifically, upperCase is set to false
.
No line separator, group separator, byte separator, byte prefix, or byte suffix is used when formatting or parsing byte arrays. Specifically:
- bytes.bytesPerLine is set to
Int.MAX_VALUE
. - bytes.bytesPerGroup is set to
Int.MAX_VALUE
. - bytes.byteSeparator, bytes.bytePrefix, and bytes.byteSuffix are empty strings.
No prefix or suffix is used, and leading zeros are not removed from the hexadecimal representation when formatting or parsing numeric values. Specifically:
- number.prefix and number.suffix are empty strings.
- number.removeLeadingZeros is set to
false
.