Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testRoundTripEncodeDecodeForResponseType (0.63 seconds)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            buf.setIndex(0);
            // Decode will throw exception as ptype 0 is not a valid response type
            assertThrows(NdrException.class, () -> m.decode(buf));
        }
    
        @Test
        void testRoundTripEncodeDecodeForResponseType() throws Exception {
            // Create a properly formatted response message
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
    
            // Manually encode a response header
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top