Builder

Common
JVM
JS
Native
1.0
class Builder
(source)

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

Properties

Common
JVM
JS
Native
1.0

bytes

Defines HexFormat.bytes of the format being built.

val bytes: Builder
Common
JVM
JS
Native
1.0

number

Defines HexFormat.number of the format being built.

val number: Builder
Common
JVM
JS
Native
1.0

upperCase

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

var upperCase: Boolean

Functions

Common
JVM
JS
Native
1.0

bytes

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

fun bytes(builderAction: Builder.() -> Unit)
Common
JVM
JS
Native
1.0

number

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

fun number(builderAction: Builder.() -> Unit)