- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 128 for SMBProtocolDecodingException (0.24 seconds)
-
src/main/java/jcifs/internal/CommonServerMessageBlock.java
* @param bufferIndex the starting index in the buffer * @return message length * @throws SMBProtocolDecodingException if decoding fails */ int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException; /** * Encodes this message into a byte array. * * @param dst the destination byte arrayCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
int bufferIndex = 0; // Write invalid structure size SMBUtil.writeInt2(structureSize, buffer, bufferIndex); // When & Then SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex)); assertEquals("Expected structureSize = 17", exception.getMessage()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java
@Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { int start = bufferIndex; // StructureSize (2 bytes) - must be 44 this.structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (this.structureSize != 44) { throw new SMBProtocolDecodingException("Invalid lease break structure size: " + this.structureSize); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.fscc; import jcifs.Decodable; import jcifs.internal.AllocInfo; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Represents the FILE_FS_FULL_SIZE_INFORMATION structure used to query comprehensive file system size information.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java
import java.util.ArrayList; import java.util.List; import jcifs.Configuration; import jcifs.FileNotifyInformation; import jcifs.internal.NotifyResponse; import jcifs.internal.SMBProtocolDecodingException; /** * Response for SMB1 NT Transaction change notification. * * This response contains file system change notifications that occurred
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
* @param buffer the buffer to read from * @param bufferIndex the starting index * @return the number of bytes read * @throws SMBProtocolDecodingException if decoding fails */ protected int readAndXWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; this.wordCount = buffer[bufferIndex]; bufferIndex++;Created: 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/fscc/BasicFileInformationTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Test class for BasicFileInformation interface and its implementations */ @ExtendWith(MockitoExtension.class) class BasicFileInformationTest { @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.fscc; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Represents the FILE_STANDARD_INFORMATION structure used in SMB2/3 file system control code (FSCC) operations.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
*/ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 60) { throw new SMBProtocolDecodingException("Expected structureSize = 60"); } this.closeFlags = SMBUtil.readInt2(buffer, bufferIndex + 2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0)