Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readDecimalLong (0.07 sec)

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

        val utf8 = Buffer().writeUtf8(s)
        val v1 = utf8.readDecimalLong()
        require(utf8.readByte() == '.'.code.toByte())
        val v2 = utf8.readDecimalLong()
        writeVariableLengthLong(v1 * 40 + v2)
    
        while (!utf8.exhausted()) {
          require(utf8.readByte() == '.'.code.toByte())
          val vN = utf8.readDecimalLong()
          writeVariableLengthLong(vN)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cache.kt

        fun key(url: HttpUrl): String = url.toString().encodeUtf8().md5().hex()
    
        @Throws(IOException::class)
        internal fun readInt(source: BufferedSource): Int {
          try {
            val result = source.readDecimalLong()
            val line = source.readUtf8LineStrict()
            if (result < 0L || result > Integer.MAX_VALUE || line.isNotEmpty()) {
              throw IOException("expected an int but was \"$result$line\"")
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top