Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for writeScopeWireFormat (0.29 sec)

  1. src/main/java/jcifs/netbios/Name.java

            }
            dst[dstIndex + TYPE_OFFSET] = (byte) (((this.hexCode & 0xF0) >> 4) + 0x41);
            dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((this.hexCode & 0x0F) + 0x41);
            return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET);
        }
    
        int readWireFormat(final byte[] src, final int srcIndex) {
    
            final byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Name.java

                dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((hexCode & 0x0F) + 0x41);
            } catch (final UnsupportedEncodingException uee) {}
            return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET);
        }
    
        int readWireFormat(final byte[] src, final int srcIndex) {
    
            final byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameTest.java

            int length = name.writeScopeWireFormat(dst, 0);
    
            assertEquals(0x00, dst[0]);
            assertEquals(1, length);
        }
    
        @Test
        void writeScopeWireFormat_withScope_shouldWriteEncodedScope() {
            Name name = new Name(mockConfig, "TEST", 0x20, "test.com");
            byte[] dst = new byte[50];
    
            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