Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,060 for bytesB (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/fr/docs/advanced/json-base64-bytes.md

    N'utilisez base64 que si vous devez absolument inclure des données binaires dans du JSON et que vous ne pouvez pas utiliser des fichiers pour cela.
    
    ## Pydantic `bytes` { #pydantic-bytes }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/json-base64-bytes.md

      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## 用于输出数据的 Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    对于输出数据,你也可以在模型配置中为 `bytes` 字段使用 `ser_json_bytes`,Pydantic 会在生成 JSON 响应时将字节以 base64 进行序列化。
    
    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:2,12:16,29,38:41] hl[16] *}
    
    ## 用于输入和输出数据的 Pydantic `bytes` { #pydantic-bytes-for-input-and-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        void testReadWithDifferentReservedValues(int byte2, int byte3) throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
    
            // Write structure size (4)
            SMBUtil.writeInt2(4, buffer, 0);
            // Write reserved field (any value is acceptable)
            buffer[2] = (byte) byte2;
            buffer[3] = (byte) byte3;
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Encode multiple times to verify consistency
            byte[] buffer1 = new byte[8];
            byte[] buffer2 = new byte[8];
    
            int bytes1 = info.encode(buffer1, 0);
            int bytes2 = info.encode(buffer2, 0);
    
            assertEquals(8, bytes1);
            assertEquals(8, bytes2);
            assertArrayEquals(buffer1, buffer2);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        @Test
        @DisplayName("Should generate consistent byte representation")
        void testConsistentByteRepresentation() throws IOException {
            // Given
            Type1Message type1 = new Type1Message(mockContext);
    
            // When
            byte[] bytes1 = type1.toByteArray();
            byte[] bytes2 = type1.toByteArray();
    
            // Then
            assertArrayEquals(bytes1, bytes2);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            byte[] buffer1 = new byte[256];
            byte[] buffer2 = new byte[256];
    
            // When
            int bytes1 = request.writeBytesWireFormat(buffer1, 0);
            int bytes2 = request.writeBytesWireFormat(buffer2, 10);
    
            // Then
            assertEquals(bytes1, bytes2);
            assertEquals(SMBUtil.readInt2(buffer1, 0), SMBUtil.readInt2(buffer2, 10));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x0a) // Literal name (len = 10)
        bytesIn.writeUtf8("custom-bar")
        bytesIn.writeByte(0x0d) // Literal value (len = 13)
        bytesIn.writeUtf8("custom-header")
        bytesIn.writeByte(0x40) // Literal indexed
        bytesIn.writeByte(0x0a) // Literal name (len = 10)
        bytesIn.writeUtf8("custom-baz")
        bytesIn.writeByte(0x0d) // Literal value (len = 13)
        bytesIn.writeUtf8("custom-header")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/stream-data.md

    Esto también significa que con `StreamingResponse` tienes la libertad y la responsabilidad de producir y codificar los bytes de datos exactamente como necesites enviarlos, independientemente de las anotaciones de tipos. 🤓
    
    ### Transmitir bytes { #stream-bytes }
    
    Uno de los casos de uso principales sería transmitir `bytes` en lugar de strings; por supuesto puedes hacerlo.
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[44:47] hl[47] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  9. src/bytes/buffer_test.go

    	if !Equal(buf.Bytes(), b) {
    		t.Fatalf("incorrect result from WriteRune: %q not %q", buf.Bytes(), b)
    	}
    
    	p := make([]byte, utf8.UTFMax)
    	// Read it back with ReadRune
    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(p, r)
    		nr, nbytes, err := buf.ReadRune()
    		if nr != r || nbytes != size || err != nil {
    			t.Fatalf("ReadRune(%U) got %U,%d not %U,%d (err=%s)", r, nr, nbytes, r, size, err)
    		}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  10. docs/tr/docs/advanced/stream-data.md

    ### Bytes Akışı { #stream-bytes }
    
    Başlıca kullanım senaryolarından biri string yerine `bytes` akıtmaktır; elbette bunu yapabilirsiniz.
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[44:47] hl[47] *}
    
    ## Özel bir `PNGStreamingResponse` { #a-custom-pngstreamingresponse }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top