Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEncodeAtNonZeroOffset (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(allFlags & ~ServerMessageBlock2.SMB2_FLAGS_SIGNED, testMessage.getFlags());
            }
    
            @Test
            @DisplayName("Should handle encoding at non-zero offset")
            void testEncodeAtNonZeroOffset() {
                byte[] buffer = new byte[1024];
                int offset = 100;
                testMessage.setBytesWritten(20);
    
                int len = testMessage.encode(buffer, offset);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top