SetRange

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWPointerStream > Methods >

SetRange

SIGNATURE=IW.Common.PointerStream.TIWPointerStream.SetRange@Int64@Int64

 

ETYPE=Method

 

Declaration:

Delphi:

public procedure SetRange(aRangeStart: Int64; aRangeSize: Int64);

C++:

void public: __fastcall SetRange(__int64 aRangeStart, __int64 aRangeSize);

 

Description: SetRange defines a different starting point (Changes Memory property) and size of the underlying stream After calling SetRange the original memory/size is lost, so you won't have access to the whole data again unless calling SetRange again. This is used to avoid copying the content of a TIWPointerStream into another stream when handling an inline-type ContentStream