HexFormat

Builds a new HexFormat by configuring its format options using the specified builderAction, and returns the resulting format.

The builder passed as a receiver to the builderAction is valid only inside that function. Using it outside of the function produces an unspecified behavior.

Since Kotlin

1.9