- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for writeResourceRecordWireFormat (0.24 sec)
-
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) -
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) -
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)