- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for readAndXWireFormat (0.16 seconds)
-
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
} return length; } /* * We overload this because we want readAndXWireFormat to * read the parameter words and bytes. This is so when * commands are batched together we can recursivly call * readAndXWireFormat without reading the non-existent header. */ @Override int decode(final byte[] buffer, int bufferIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
} return this.length; } /* * We overload this because we want readAndXWireFormat to * read the parameter words and bytes. This is so when * commands are batched together we can recursivly call * readAndXWireFormat without reading the non-existent header. */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
// Setup readAndXWireFormat scenario testBlock.headerStart = 0; buffer[0] = 4; // wordCount at position 0 buffer[1] = (byte) 0x42; // andxCommand SMBUtil.writeInt2(0, buffer, 3); // andxOffset = 0 (triggers Snap workaround) SMBUtil.writeInt2(20, buffer, 9); // byteCount int length = testBlock.readAndXWireFormat(buffer, 0); assertTrue(length > 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
int n = block.readAndXWireFormat(buf, 0); assertTrue(n > 0); assertTrue(next.received, "Chained SMB should be marked received"); // Since wordCount is 0, readParameterWordsWireFormat is not called assertEquals(0, next.readParamCalls); assertEquals(1, next.readBytesCalls); } @Test @DisplayName("readAndXWireFormat clears chaining when errorCode set")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0)