Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadBytesWireFormatAtDifferentPositions (1.57 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Then
                assertEquals(4, bytesRead);
            }
    
            @Test
            @DisplayName("Should read from various buffer positions")
            void testReadBytesWireFormatAtDifferentPositions() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[20];
                int[] positions = { 0, 2, 4, 8, 10, 15 };
    
                for (int pos : positions) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top