You are here: Symbol Reference
> dtSearch.Engine Namespace
> FileConverter Class
> FileConverter Properties
> InputBytes Property
Close
dtSearch .NET Standard API 2021.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.

Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.