Module jcifs

Class SrvCopychunkCopy

java.lang.Object
org.codelibs.jcifs.smb.internal.smb2.ioctl.SrvCopychunkCopy
All Implemented Interfaces:
Encodable

public class SrvCopychunkCopy extends Object implements Encodable
SMB2 SRV_COPYCHUNK_COPY data structure. This structure is used to perform server-side copy operations with multiple chunk specifications.
Author:
mbechler
  • Constructor Summary

    Constructors
    Constructor
    Description
    SrvCopychunkCopy(byte[] sourceKey, SrvCopychunk... chunks)
    Constructs a server copy chunk operation request
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    encode(byte[] dst, int dstIndex)
    Encodes this object into the specified byte array.
    int
    Returns the size in bytes that this object will occupy when encoded.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SrvCopychunkCopy

      public SrvCopychunkCopy(byte[] sourceKey, SrvCopychunk... chunks)
      Constructs a server copy chunk operation request
      Parameters:
      sourceKey - the resume key identifying the source file
      chunks - the array of copy chunk descriptors
  • Method Details

    • encode

      public int encode(byte[] dst, int dstIndex)
      Encodes this object into the specified byte array.
      Specified by:
      encode in interface Encodable
      Parameters:
      dst - the destination byte array to encode into
      dstIndex - the starting index in the destination array
      Returns:
      encoded length
      See Also:
    • size

      public int size()
      Returns the size in bytes that this object will occupy when encoded.
      Specified by:
      size in interface Encodable
      Returns:
      the encoded size
      See Also: