com.qcloud.cos.transfer.DownloadPart Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cos_api-bundle Show documentation
Show all versions of cos_api-bundle Show documentation
A single bundled dependency that includes all service and dependent JARs with third-party libraries
relocated to different namespaces.
package com.qcloud.cos.transfer;
public class DownloadPart {
public final long start;
public final long end;
public final long crc64;
public DownloadPart(long start, long end, long crc64) {
this.start = start;
this.end = end;
this.crc64 = crc64;
}
public long getContentLength() {
return end + 1 - start;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy