Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 128 for SMBProtocolDecodingException (0.77 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len != 8) {
                throw new SMBProtocolDecodingException("Invalid durable handle V2 response length: " + len);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.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 != 17) {
                throw new SMBProtocolDecodingException("Expected structureSize = 17");
            }
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.trans2;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.fscc.FileBothDirectoryInfo;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize == 9) {
                return super.readErrorResponse(buffer, bufferIndex);
            }
            if (structureSize != 49) {
                throw new SMBProtocolDecodingException("Expected structureSize = 49");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

            if (len == 0) {
                // nothing to do
                return 0;
            }
            final int start = bufferIndex;
    
            this.nextEntryOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            if (this.nextEntryOffset % 4 != 0) {
                throw new SMBProtocolDecodingException("Non aligned nextEntryOffset");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            SMBUtil.writeInt2(10, buffer, bufferIndex);
    
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex),
                            "Should throw SMBProtocolDecodingException for invalid structure size");
    
            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_COPYCHUNK_COPY response data structure. This structure contains the result
     * of a server-side copy operation.
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.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 != 9) {
                throw new SMBProtocolDecodingException("Expected structureSize = 9");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.fscc;
    
    import jcifs.Encodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) structure for File End-of-File Information.
     * Used in SMB2/SMB3 operations to set or query the end-of-file position for a file,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileInternalInfo.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;
    
    /**
     * File System Control Code (FSCC) structure for File Internal Information.
     * Provides access to the file's internal index number, which is a unique identifier
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top