urlEncode generates a string encoding the contents of the currently selected item in search results.
int urlEncode(long iItem, char * dest, ptrdiff_t maxLen);
|
Parameters |
Description |
|
long iItem |
Zero-based index identifying the item to encode |
|
char * dest |
Buffer to receive the url-encoded item |
|
ptrdiff_t maxLen |
Size of the buffer (at least 1024 bytes is recommended) |
The string can be used in a subsequent call to urlDecode to re-create the search results item.
If the buffer is not large enough to store all of the hit offsets, a partial list of hit offsets will be stored.
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|