← Docs
kotlin-stdlib / kotlin.text / HexFormat

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.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .