GetTransfer


The GetTransfer method returns number of bytes transferred in last read or write operation.
C++
long GetTransfer(void);
BASIC
GetTransfer() As Long

Parameters

Method has no parameters.

Return Values

The return value is the number of bytes transferred in last read or write operation.
The return value is 0 if no file is attached to the object.

Remarks

Method returns number of bytes transferred with last Get or Put operation and can be used to determine size of read data that can be unget with UnGet method.

Transfer counter is reset whenever data buffer is flushed or file is repositioned or resized.

See Also

GetReadTransfer, GetWriteTransfer, Reading and Writing Data