Close
dtSearch .NET Standard API 2023.02
FileConverter.InputBytes Property

Use InputBytes to provide a document in a memory buffer rather than as a disk file.

public byte[] InputBytes;

Using InputBytes to pass very long documents to FileConverter is not recommended because InputBytes must be allocated as a single contiguous memory buffer. As a result, you may get out-of-memory errors when trying to allocate this buffer. Instead, to pass potentially large documents in memory, create a .NET Stream object with the document data and pass this object to FileConverter in DocStream.