Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeScopeWireFormat_withNullScope_shouldWriteZeroByte (0.74 sec)

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

            Name name = new Name(mockConfig);
            name.readWireFormat(src, 0);
    
            assertEquals("test.com", name.scope);
        }
    
        @Test
        void writeScopeWireFormat_withNullScope_shouldWriteZeroByte() {
            Name name = new Name(mockConfig, "TEST", 0x20, null);
            name.scope = null;
            byte[] dst = new byte[10];
    
            int length = name.writeScopeWireFormat(dst, 0);
    
    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