You are here: C++ API > Classes > dtsInputStream Structure > dtsInputStream::read Data Member
dtSearch Text Retrieval Engine Programmer's Reference
dtsInputStream::read Data Member
long (* read)(void *pData, void *dest, long len);

Pointer to the function used to read data from the input. Read returns the number of bytes read, or 0 if no data could be read To indicate an I/O error that should force processing of the input file to halt, return a value of less than -10,000.

Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.