IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

ReadBytes Property

The number of bytes to read when downloading a file.

Syntax

ANSI (Cross Platform)
int64 GetReadBytes();
int SetReadBytes(int64 lReadBytes); Unicode (Windows) LONG64 GetReadBytes();
INT SetReadBytes(LONG64 lReadBytes);
@property (nonatomic,readwrite,assign,getter=readBytes,setter=setReadBytes:) long long readBytes;
- (long long)readBytes;
- (void)setReadBytes:(long long)newReadBytes;
#define PID_HADOOPDFS_READBYTES 41

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_HadoopDFS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_HadoopDFS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

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.

This property is not available at design time.

Data Type

Long64

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 C++ Edition - Version 20.0 [Build 8265]