Builder

class Builder

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

Properties

Link copied to clipboard

Defines HexFormat.bytes of the format being built.

Link copied to clipboard

Defines HexFormat.number of the format being built.

Link copied to clipboard

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

Functions

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

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

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

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