Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadDataWireFormat_emptyBuffer (0.16 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            int bytesRead = response.readDataWireFormat(buffer, 0, 20);
    
            assertEquals(0, bytesRead);
            assertNull(response.getInfo());
        }
    
        @Test
        void testReadDataWireFormat_EmptyBuffer() throws Exception {
            // Test with empty dataCount but decode still processes buffer
            // Note: SmbInfoAllocation.decode() doesn't check len parameter, always reads 20 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top