kotlin / 1.9 / api / latest / jvm / stdlib / kotlin.text / -hex-format.html

HexFormat

Platform and version requirements: JVM (1.9), JS (1.9), Native (1.9)
@ExperimentalStdlibApi inline fun HexFormat(
    builderAction: Builder.() -> Unit
): 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.

© 2010–2023 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-hex-format.html