- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for readQuestionSectionWireFormat (0.1 seconds)
-
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 11.1K bytes - Click Count (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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0)