Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for byteCount (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
          check(!closed) { "closed" }
          if (contentLength != -1L && bytesReceived + byteCount > contentLength) {
            throw ProtocolException(
              "expected $contentLength bytes but received ${bytesReceived + byteCount}",
            )
          }
          try {
            super.write(source, byteCount)
            this.bytesReceived += byteCount
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.2K bytes
    - Viewed (2)
Back to top