DecodeContext

Context passed to Decoder.decode / SuspendingDecoder.decode for runtime configuration (allocator hints, max-size guards, version pins, etc.). Contexts are immutable; with returns a new context.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract operator fun <T : Any> get(key: DecodeKey<T>): T?
Link copied to clipboard
abstract fun <T : Any> with(key: DecodeKey<T>, value: T): DecodeContext