- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for BasicDerAdapter (0.07 seconds)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
* ``` */ fun withTag( tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC, tag: Long, ): BasicDerAdapter<T> = copy(tagClass = tagClass, tag = tag) /** Returns a copy of this adapter that doesn't encode values equal to [defaultValue]. */ fun optional(defaultValue: T? = null): BasicDerAdapter<T> = copy(isOptional = true, defaultValue = defaultValue) /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
fun withExplicitBox( tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC, tag: Long, forceConstructed: Boolean? = null, ): BasicDerAdapter<T> { val codec = object : BasicDerAdapter.Codec<T> { override fun decode(reader: DerReader): T = fromDer(reader) override fun encode( writer: DerWriter, value: T, ) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (0)