Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 128 for SMBProtocolDecodingException (0.2 sec)

  1. 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 array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. 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++;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. 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 {
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb1.com;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Seek command response implementation.
     * Handles server responses to file seek operations, returning the new file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.nego;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Pre-authentication Integrity Negotiate Context.
     *
     * This negotiate context is used in SMB 3.1.1 to establish
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb1.com;
    
    import jcifs.Decodable;
    import jcifs.Encodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents a byte range for SMB1 locking and unlocking operations.
     *
     * This class encapsulates the information about a byte range that needs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException if there is an error decoding the response
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

                    this.exception = e;
                }
    
                @Override
                public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                    if (buffer == null || buffer.length < bufferIndex + 4) {
                        throw new SMBProtocolDecodingException("Buffer too small");
                    }
                    return 4;
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

     */
    package jcifs.internal.fscc;
    
    import java.util.Date;
    
    import jcifs.Configuration;
    import jcifs.Decodable;
    import jcifs.SmbConstants;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.FileEntry;
    import jcifs.util.Strings;
    
    /**
     * Represents the FILE_BOTH_DIR_INFORMATION structure used in SMB directory enumeration operations.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top