TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
string FileReadString | ( | int | handle, |
int | length | ||
) |
Reads a string from the current position of a file pointer in a file
handle | File descriptor returned by FileOpen() |
length | Number of characters to read |
When reading from a bin-file. the length of a string to read must be specified. When reading from a txt-file the string length
is not required, and the string will be read from the current position to the line feed character "\r\n". When reading from a csv-file,
the string length isn't required also, the string will be read from the current position till the nearest delimiter or till the text string
end character.
If the file is opened with FILE_ANSI flag, then the line read is converted to Unicode.