Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WriteChannelInfoOffset (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                SMBUtil.writeInt4(4096, buffer, 4); // Count
                SMBUtil.writeInt4(2048, buffer, 8); // Remaining
                SMBUtil.writeInt2(100, buffer, 12); // WriteChannelInfoOffset (ignored)
                SMBUtil.writeInt2(200, buffer, 14); // WriteChannelInfoLength (ignored)
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertEquals(500, SMBUtil.readInt4(buffer, headerStart + 36)); // Remaining bytes
                assertEquals(0, SMBUtil.readInt2(buffer, headerStart + 40)); // WriteChannelInfoOffset
                assertEquals(0, SMBUtil.readInt2(buffer, headerStart + 42)); // WriteChannelInfoLength
                assertEquals(0x01, SMBUtil.readInt4(buffer, headerStart + 44)); // Write flags
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top