readBytes (property)
The number of bytes to read when downloading a file.
Syntax
@property (nonatomic,readwrite,assign,getter=readBytes,setter=setReadBytes:) long long readBytes; - (long long)readBytes; - (void)setReadBytes:(long long)newReadBytes;
public var readBytes: Int64 { get {...}
set {...} }
Default Value
-1
Remarks
This property specifies how many bytes should be read when DownloadFile is called. It can be used in tandem with StartByte to specify a specific range of the file to download.
If set to -1 (default), there is no limit on how many bytes will be read.