- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 181 for readBytesWireFormat (0.1 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} } @Nested @DisplayName("ReadBytesWireFormat Tests") class ReadBytesWireFormatTests { @Test @DisplayName("Should always return 0 for readBytesWireFormat") void testReadBytesWireFormat() { byte[] buffer = new byte[1024]; int result = request.readBytesWireFormat(buffer, 0); assertEquals(0, result); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java
return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java
/** * {@inheritDoc} * * @throws SMBProtocolDecodingException if the response structure is invalid * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 4) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
} @Test @DisplayName("readBytesWireFormat is a no‑op and returns zero") void testReadBytesWireFormatNoop() { byte[] buffer = new byte[10]; int used = cmd.readBytesWireFormat(buffer, 0); assertEquals(0, used, "readBytesWireFormat is unimplemented and must return 0"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
} return dstIndex - start; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java
dstIndex += 4; return dstIndex - start; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
assertEquals(0, result); } /** * Test readBytesWireFormat. */ @Test void testReadBytesWireFormat() { SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir"); byte[] buffer = new byte[10]; int result = sdd.readBytesWireFormat(buffer, 0); assertEquals(0, result); } /** * Test toString method. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java
* * @throws SMBProtocolDecodingException * if the response data is malformed * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 2) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
} /** * Test readBytesWireFormat always returns 0 */ @Test public void testReadBytesWireFormat() { SmbComWrite write = new SmbComWrite(); byte[] buffer = new byte[10]; int result = write.readBytesWireFormat(buffer, 0); assertEquals(0, result, "readBytesWireFormat should always return 0"); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)