Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for Decodable (0.27 sec)

  1. src/main/java/jcifs/Decodable.java

    /**
     * Interface for objects that can be decoded from a byte buffer.
     * This interface provides methods for deserializing data from SMB protocol messages.
     *
     * @author mbechler
     */
    public interface Decodable {
    
        /**
         * Decode data from a byte buffer
         *
         * @param buffer the byte buffer containing the data to decode
         * @param bufferIndex the starting index in the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            bufferIndex += 4;
            final Decodable i = createInformation(this.expectInfoType, this.expectInfoClass);
            if (i != null) {
                i.decode(buffer, bufferOffset, bufferLength);
            }
            bufferIndex = Math.max(bufferIndex, bufferOffset + bufferLength);
            this.info = i;
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            return bufferIndex - start;
        }
    
        /**
         * Creates a decodable object for the output data based on the control code.
         *
         * @return the appropriate decodable object for the control code, or null if not recognized
         */
        protected Decodable createOutputDecodable() {
            switch (this.ctlCode) {
            case Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_REQUEST_RESUME_KEY response data structure. This structure contains a resume key
     * that can be used for server-side copy operations.
     *
     * @author mbechler
     *
     */
    public class SrvRequestResumeKeyResponse implements Decodable {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.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.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.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.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.Decodable;
    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/DecodableTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Test class for Decodable interface functionality
     */
    @DisplayName("Decodable Interface Tests")
    class DecodableTest extends BaseTest {
    
        @Mock
        private Decodable mockDecodable;
    
        @Test
        @DisplayName("Should define decode method")
        void testDecodeMethod() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        /**
         * Test that FileInformation can be used as both Decodable and Encodable
         */
        @Test
        @DisplayName("Test FileInformation as both Decodable and Encodable")
        void testFileInformationAsDecodableAndEncodable() throws SMBProtocolDecodingException {
            FileInformation fileInfo = new FileEndOfFileInformation(2048L);
    
            // Test as Encodable
            assertTrue(fileInfo instanceof jcifs.Encodable);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java

     */
    package jcifs.internal.smb2.nego;
    
    import jcifs.Decodable;
    
    /**
     * SMB2 Negotiate Context response data structure.
     *
     * This class represents negotiate contexts returned by the server
     * in response to negotiate context requests.
     *
     * @author mbechler
     */
    public interface NegotiateContextResponse extends Decodable {
    
        /**
         * Gets the negotiate context type.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java

     */
    package jcifs.internal.smb2.create;
    
    import jcifs.Decodable;
    
    /**
     * SMB2 Create Context response interface. This interface defines the contract for
     * context data returned in SMB2 Create responses.
     *
     * @author mbechler
     *
     */
    public interface CreateContextResponse extends Decodable {
    
        /**
         * Get the name of this create context.
         * @return context name as byte array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top