HexFormat

Common
JVM
JS
Native
1.9
@ExperimentalStdlibApi inline fun HexFormat(
    builderAction: Builder.() -> Unit
): HexFormat

(source)

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.