Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for skipAdvancesPosition (0.12 sec)

  1. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // All data should still be available
            assertEquals(10, sis.read());
        }
    
        @Test
        @DisplayName("Skip correctly advances position in stream")
        void skipAdvancesPosition() throws IOException {
            // Create message with 5 bytes of data
            byte[] data = new byte[] { 10, 20, 30, 40, 50 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top