GetTotalSize
Document parts, variable data, document editing
Description
Returns the total byte size announced by a TCallbackByteRangeSource
Syntax
Function TCallbackByteRangeSource.GetTotalSize: Int64;
Return values
Int64 | Total source size in bytes announced to the range consumer |
|---|
Remarks
The value is the total size supplied to the constructor, which LoadFromRangeSource forwards from its SourceSize parameter
It is stored as supplied and is never updated by read activity
The boundary checks in IsRangeAvailable and ReadRange compare offsets and counts against this size
See also
GetRangeSupported, IsRangeAvailable, ReadRange, LoadFromRangeSource