encodeHex

inline fun <T> StandardKtorSerialFormat.encodeHex(serializationStrategy: SerializationStrategy<T>, data: T): String(source)

Encodes data to a hex string using the standard binary format.

Return

The encoded hex string

Parameters

serializationStrategy

The serialization strategy for type T

data

The data to encode

Type Parameters

T

The type to encode