toWire

abstract fun toWire(value: T): String

Encode a value of type T for transports that carry it as a string.