HexByteStringConverter

Stringokio.ByteString via hexadecimal encoding.

Same type pair as StringByteStringConverter — see Base64ByteStringConverter for how to select an alternate converter. Decoding accepts upper- and lower-case digits and rejects odd-length or non-hex input with IllegalArgumentException; encoding emits lower-case.

Properties

Link copied to clipboard
Link copied to clipboard
val targetType: KClass<ByteString>

Functions

Link copied to clipboard
open override fun convertFrom(target: ByteString): String
Link copied to clipboard
open fun convertFromOrNull(target: ByteString): String?
Link copied to clipboard
open override fun convertTo(source: String): ByteString
Link copied to clipboard
open fun convertToOrNull(source: String): ByteString?