kencode

Default

Default format: PackedFormat + Base62, no transform.

Properties

Link copied to clipboard

The active configuration dictating the codec, transform, and binary format.

Link copied to clipboard
open override val serializersModule: SerializersModule

Delegates to the underlying BinaryFormat's serializers module.

Functions

Link copied to clipboard
open override fun <T> decodeFromString(deserializer: DeserializationStrategy<T>, string: String): T

Decodes string using the text codec, applies the inverse transform, then deserializes with the configured binary format.

Link copied to clipboard
open override fun <T> encodeToString(serializer: SerializationStrategy<T>, value: T): String

Serializes value with the configured binary format, applies the transform, and encodes the resulting byte array using the text codec.