Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for encodeDecodeRoundTrip (1.02 sec)

  1. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

        }
    
        /**
         * Round-trip encode/decode for a selection of representative values.
         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 42, 255, -1, 128 })
        void encodeDecodeRoundTrip(int original) throws Exception {
            // The constructor masks to 0xFF (8 bits)
            int expected = original & 0xFF;
            NdrShort ns = new NdrShort(original);
            buf.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top