Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for encodable (0.32 sec)

  1. 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)
  2. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

     */
    package jcifs.internal.smb2.nego;
    
    import jcifs.Encodable;
    
    /**
     * SMB2 Negotiate Context request data structure.
     *
     * This class represents negotiate contexts used in SMB 3.1.1
     * for capability negotiation and security enhancements.
     *
     * @author mbechler
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * 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)
  3. src/main/java/jcifs/util/ByteEncodable.java

     */
    package jcifs.util;
    
    import jcifs.Encodable;
    
    /**
     * Interface for objects that can be encoded to byte arrays.
     * Provides standardized method for converting objects to their binary representation.
     *
     * @author mbechler
     */
    public class ByteEncodable implements Encodable {
    
        private final byte[] bytes;
        private final int off;
        private final int len;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileInformation.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.Encodable;
    
    /**
     * Base interface for File System Control Code (FSCC) file information structures.
     * Defines common functionality for various SMB2/SMB3 file information classes used in
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

     */
    package jcifs.internal.smb2.lock;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lock data structure.
     *
     * This class represents a single lock element used in
     * SMB2 Lock requests for byte-range locking.
     *
     * @author mbechler
     */
    public class Smb2Lock implements Encodable {
    
        /**
         * Flag indicating a shared lock that allows concurrent read access.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
            this.indexNumber = SMBUtil.readInt8(buffer, bufferIndex);
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Validate Negotiate Info request data structure. This structure is used to validate
     * that the negotiated SMB2 dialect matches what was originally negotiated.
     *
     * @author mbechler
     *
     */
    public class ValidateNegotiateInfoRequest implements Encodable {
    
        private final int capabilities;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) request for pipe wait operations.
     * Implements the FSCTL_PIPE_WAIT control code used to wait for a named pipe
     * to become available when attempting to connect to a busy pipe.
     *
     * @author mbechler
     */
    public class FsctlPipeWaitRequest implements Encodable {
    
        private final byte[] nameBytes;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.dfs;
    
    import java.nio.charset.StandardCharsets;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * DFS (Distributed File System) referral request buffer encoder.
     * Creates encoded request buffers for DFS referral requests, specifying the maximum
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance_gen.go

    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *rebalSaveOpts) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = rebalSaveOpts(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z rebalSaveOpts) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top