Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for writeResourceRecordWireFormat (0.16 sec)

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

            packet.ttl = 100;
            packet.rDataLength = 0; // Will be set by writeRDataWireFormat
    
            // TestNameServicePacket.writeRDataWireFormat returns 0
            int written = packet.writeResourceRecordWireFormat(dst, 0);
            assertEquals(12, written); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 0 (rData)
    
            assertEquals((byte) 0xC0, dst[0]); // Pointer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServicePacket.java

            srcIndex += 2;
            this.questionClass = readInt2(src, srcIndex);
            srcIndex += 2;
            return srcIndex - start;
        }
    
        int writeResourceRecordWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            if (this.recordName == this.questionName) {
                dst[dstIndex] = (byte) 0xC0; // label string pointer to
                dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            questionType = readInt2(src, srcIndex);
            srcIndex += 2;
            questionClass = readInt2(src, srcIndex);
            srcIndex += 2;
            return srcIndex - start;
        }
    
        int writeResourceRecordWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            if (recordName == questionName) {
                dst[dstIndex] = (byte) 0xC0; // label string pointer to
                dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top