HexStringValidator

The value must be a hex string: an even number of hex digits, upper- or lower-case. The empty string is valid (it encodes zero bytes) — combine with com.sahsenvar.kmapper.validation.builtin.NotEmptyStringValidator to also require content.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun validate(value: String): String?