Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BeanSpec (0.14 sec)

  1. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/BeanSpecCodec.kt

    /**
     * Forces the given [bean] to be encoded via the [BeanCodec] regardless of its type.
     */
    class BeanSpec(val bean: Any)
    
    
    object BeanSpecCodec : Codec<BeanSpec> {
    
        override suspend fun WriteContext.encode(value: BeanSpec) =
            encodeBean(value.bean)
    
        override suspend fun ReadContext.decode(): BeanSpec =
            BeanSpec(decodeBean())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top