Base interface for classes that can produce IDataStream objects.
interface
|
IDataStreamFactory
|
base of
|
IFileOps
|
Creates an IDataStream object for accessing the data of this object.
[OwnerReturn, OwnerThis]
|
||||
method
|
ToDataStream
(int32 bufferSize = 65536,
bool needLength = true)
|
|||
type
|
IDataStream
|
|||
params
|
bufferSize
|
[>0]
|
The
buffer
size
to
use,
in
bytes.
Defaults
to
65536 .
|
|
needLength
|
Shall
the
returned
data
stream
report
a
proper
length
(if
possible)
with
its
Length
property?
Defaults
to
true .
|
|||
returns
|
|
The data stream. |