eof constant

int const eof

indicates end-of-file condition; for SftpReadPacket it means that no more data is available in the file, and for SftpReadDirPacket it indicates that no more files are contained in the directory.

Implementation

static const eof = 1;