You are here: C++ Support Classes > dtSearch Namespace > Classes > DString Class > DString::getFromDecoded Method
DString::getFromDecoded Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DString::getFromDecoded Method
Syntax
C++
int getFromDecoded(const TCHAR * file, int maxToRead = -1);

Read the contents of a file into a text buffer, automatically converting UCS-16 to UTF-8 If maxToRead = -1, read the entire file