Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseHexDigit (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

    ) {
      var codePoint: Int
      var i = pos
      while (i < limit) {
        codePoint = encoded.codePointAt(i)
        if (codePoint == '%'.code && i + 2 < limit) {
          val d1 = encoded[i + 1].parseHexDigit()
          val d2 = encoded[i + 2].parseHexDigit()
          if (d1 != -1 && d2 != -1) {
            writeByte((d1 shl 4) + d2)
            i += 2
            i += Character.charCount(codePoint)
            continue
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top