Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Encodable (0.07 sec)

  1. src/main/java/jcifs/Encodable.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    
    /**
     * @author mbechler
     *
     */
    public interface Encodable {
    
        /**
         * @param dst
         * @param dstIndex
         * @return encoded length
         */
        int encode ( byte[] dst, int dstIndex );
    
    
        /**
         * @return the encoded size
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

         * @param fi
         */
        public <T extends FileInformation & Encodable> void setFileInformation ( T fi ) {
            setInfoType(Smb2Constants.SMB2_0_INFO_FILE);
            setFileInfoClass(fi.getFileInformationLevel());
            setInfo(fi);
        }
    
    
        /**
         * @param info
         *            the info to set
         */
        public void setInfo ( Encodable info ) {
            this.info = info;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileInformation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.fscc;
    
    
    import jcifs.Decodable;
    import jcifs.Encodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface FileInformation extends Decodable, Encodable {
    
        // information levels
    
        /**
         * 
         */
        public static final byte FILE_ENDOFFILE_INFO = 20;
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.nego;
    
    
    import jcifs.Encodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * 
         * @return context type
         */
        int getContextType ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1016 bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

     */
    package jcifs.internal.fscc;
    
    
    import jcifs.Encodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class FileEndOfFileInformation implements FileInformation, Encodable {
    
        private long endOfFile;
    
    
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

     */
    package jcifs.internal.smb1.com;
    
    
    import jcifs.Decodable;
    import jcifs.Encodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class LockingAndXRange implements Encodable, Decodable {
    
        private final boolean largeFile;
        private int pid;
        private long byteOffset;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            bufferIndex += nameLen;
            this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE);
            return bufferIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            dst[ dstIndex ] = (byte) ( this.replaceIfExists ? 1 : 0 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.create;
    
    
    import jcifs.Encodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface CreateContextRequest extends Encodable {
    
        /**
         * @return context name
         */
        byte[] getName ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1004 bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ByteEncodable.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util;
    
    
    import jcifs.Encodable;
    
    
    /**
     * @author mbechler
     *
     */
    public class ByteEncodable implements Encodable {
    
        private byte[] bytes;
        private int off;
        private int len;
    
    
        /**
         * @param b
         * @param off
         * @param len
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lock;
    
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class Smb2Lock implements Encodable {
    
        /**
         * 
         */
        public static final int SMB2_LOCKFLAG_SHARED_LOCK = 0x1;
    
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top