Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for binaryData (0.06 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

          serverReader.processNextFrame()
        }
      }
    
      @Test fun clientSimpleBinary() {
        val bytes = binaryData(256)
        data.write("827E0100".decodeHex()).write(bytes)
        clientReader.processNextFrame()
        callback.assertBinaryMessage(bytes)
      }
    
      @Test fun clientTwoFrameBinary() {
        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top