Codec

interface Codec<DOMAIN : Any, PERSISTED : Any>(source)

Encodes a domain model through an independently evolvable persisted representation.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun decode(bytes: ByteArray): DOMAIN
Link copied to clipboard
open fun encode(value: DOMAIN): ByteArray