longSerializer

inline fun <T> longSerializer(crossinline decode: (Long) -> T, crossinline encode: (T) -> Long, nameOverride: String? = null): KSerializer<T>(source)