EndByte Property

The byte index of the position where the transfer should end.

Syntax

ANSI (Cross Platform)
int64 GetEndByte();
int SetEndByte(int64 lEndByte); Unicode (Windows) LONG64 GetEndByte();
INT SetEndByte(LONG64 lEndByte);
@property (nonatomic,readwrite,assign,getter=endByte,setter=setEndByte:) long long endByte;
- (long long)endByte;
- (void)setEndByte:(long long)newEndByte;
#define PID_IMAP_ENDBYTE 5

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_IMAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_IMAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

StartByte and EndByte are used together with the FetchMessagePart method to specify the portion of the message part to be retrieved from the server.

When StartByte or EndByte contain values other than the defaults (0), only the corresponding portion of the message part is retrieved from the server.

Byte indexes start from 1. The default value for EndByte is 0, which corresponds to the end of the message.

This property is not available at design time.

Data Type

Long64

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