Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
DMemoryInputStream::setBinaryData Method
DMemoryInputStream Class | DMemoryInputStream Class | dtSearch Namespace | Send Feedback

Set binary data, such as the contents of a Microsoft Word document or a PDF file, as the contents of this document.

void setBinaryData(const char * pData, ptrdiff_t bytes);
Parameters
Parameters 
Description 
const char * pData 
Binary data for this document 
ptrdiff_t bytes 
Size of the data 
Remarks

The data will be copied into an internal buffer managed by DMemoryInputStream

Class
Links
You are here: C++ Support Classes > dtSearch Namespace > Classes > DMemoryInputStream Class > DMemoryInputStream::setBinaryData Method
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.