StartByte Property
The byte offset from which to resume the upload or download.
Syntax
ANSI (Cross Platform) int64 GetStartByte();
int SetStartByte(int64 lStartByte); Unicode (Windows) LONG64 GetStartByte();
INT SetStartByte(LONG64 lStartByte);
@property (nonatomic,readwrite,assign,getter=startByte,setter=setStartByte:) long long startByte; - (long long)startByte; - (void)setStartByte:(long long)newStartByte;
#define PID_BACKBLAZEB2_STARTBYTE 84 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_BackblazeB2_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_BackblazeB2_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property specifies the byte offset from which to resume an automatic multipart upload initiated by UploadFile, or a download initiated by DownloadFile or DownloadFileById. Refer to those methods' documentation for more information about resuming uploads and downloads.
When uploading from a stream, the class will always seek forward in the stream if the value of StartByte is greater than zero when UploadFile is called. Keep this in mind when resuming interrupted uploads.
This property is not available at design time.
Data Type
Long64