Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadBytesWireFormatUnsignedDataOffset (0.15 sec)

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

            assertEquals(0, response.getDataLength());
            assertEquals(0, response.getDataRemaining());
        }
    
        @Test
        @DisplayName("Should handle data offset byte as unsigned")
        void testReadBytesWireFormatUnsignedDataOffset() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int bodyStart = 0;
            int dataLength = 5;
            // Use a small offset value that is safe
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top