- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for readQuestionSectionWireFormat (0.09 sec)
-
src/main/java/jcifs/netbios/NameServicePacket.java
dstIndex += 2; writeInt2(this.questionClass, dst, dstIndex); dstIndex += 2; return dstIndex - start; } int readQuestionSectionWireFormat(final byte[] src, int srcIndex) { final int start = srcIndex; srcIndex += this.questionName.readWireFormat(src, srcIndex); this.questionType = readInt2(src, srcIndex); srcIndex += 2;
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
writeInt2(questionType, dst, dstIndex); dstIndex += 2; writeInt2(questionClass, dst, dstIndex); dstIndex += 2; return dstIndex - start; } int readQuestionSectionWireFormat(final byte[] src, int srcIndex) { final int start = srcIndex; srcIndex += questionName.readWireFormat(src, srcIndex); questionType = readInt2(src, srcIndex); srcIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
when(mockQuestionName.readWireFormat(any(byte[].class), anyInt())).thenReturn(10); // Mock name length int read = packet.readQuestionSectionWireFormat(src, 0); assertEquals(14, read); // 10 (name) + 2 (type) + 2 (class) verify(mockQuestionName).readWireFormat(src, 0); assertEquals(NameServicePacket.NB, packet.questionType);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0)