Builder

A context for building a HexFormat. Provides API for configuring format options.

Since Kotlin

1.9

Properties

Link copied to clipboard

Defines HexFormat.bytes of the format being built.

Since Kotlin 1.9
Link copied to clipboard

Defines HexFormat.number of the format being built.

Since Kotlin 1.9
Link copied to clipboard

Defines HexFormat.upperCase of the format being built, false by default.

Since Kotlin 1.9

Functions

Link copied to clipboard
inline fun bytes(builderAction: HexFormat.BytesHexFormat.Builder.() -> Unit)

Provides a scope for configuring the HexFormat.bytes format options.

Since Kotlin 1.9
Link copied to clipboard
inline fun number(builderAction: HexFormat.NumberHexFormat.Builder.() -> Unit)

Provides a scope for configuring the HexFormat.number format options.

Since Kotlin 1.9