Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readUtf8String (0.11 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          name = "UTF8",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 12L,
          codec =
            object : BasicDerAdapter.Codec<String> {
              override fun decode(reader: DerReader): String = reader.readUtf8String()
    
              override fun encode(
                writer: DerWriter,
                value: String,
              ) = writer.writeUtf8(value)
            },
        )
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        if (bytesLeft == -1L || constructed) {
          throw ProtocolException("constructed octet strings not supported for DER")
        }
        return source.readByteString(bytesLeft)
      }
    
      fun readUtf8String(): String {
        if (bytesLeft == -1L || constructed) {
          throw ProtocolException("constructed strings not supported for DER")
        }
        return source.readUtf8(bytesLeft)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top