Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readWireFormat_shouldDecodeNameCorrectly (0.37 sec)

  1. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(5, dst[33]); // Length of "scope"
    
            // Verify total length includes scope
            assertEquals(33 + name.scope.length() + 2, length);
        }
    
        @Test
        void readWireFormat_shouldDecodeNameCorrectly() {
            // Prepare encoded data for "TEST" with type 0x20
            byte[] src = new byte[100];
            src[0] = 0x20; // First byte
    
            // Encode "TEST" (0x54 0x45 0x53 0x54)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top