IDataStreamFactory

Description

interface Tinman.Core.IO.Streams.IDataStreamFactory

Extended by

IFileOps

Base interface for classes that can produce IDataStream objects.

Public / Methods

To​Data​Stream


[OwnerReturn] [OwnerThis]
public method ToDataStream → (2)

bufferSize opt : int32 = 65536

[>0]
The buffer size to use, in bytes.

needLength opt : bool = true

Shall the returned data stream report a proper length (if possible) with its IDataStream.Length property?

returns → IDataStream

The data stream.

Creates a IDataStream object for accessing the data of this object.