Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EncodeFrame (0.12 sec)

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

    
    fun <T : Any> reentrant(codec: Codec<T>): Codec<T> = object : Codec<T> {
    
        var encodeCall: EncodeFrame<T>? = null
    
        var decodeCall: DecodeFrame<T?>? = null
    
        override suspend fun WriteContext.encode(value: T) {
            when (encodeCall) {
                null -> {
                    encodeCall = EncodeFrame(value, null)
                    encodeLoop(coroutineContext)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top