DataStreamBase

Description

abstract class Tinman.Core.IO.Streams.DataStreamBase

Derived from

Disposable abstract
IDataStream

Extended by

BufferDataStreamBase abstract
MemoryDataStream sealed
ReadonlyDataStreamBase abstract
WriteonlyDataStreamBase abstract

Abstract implementation of the IDataStream interface.

Protected / Constructors

Data​Stream​Base


protected constructor DataStreamBase → ()

Creates a new instance of DataStreamBase.

Protected / Methods

Do​Finish


[EmptyBody]
protected virtual method DoFinish → ()

Finishes writing to this data stream.

The IFlushable.Flush method will be called after this method has returned.

IOException

If an I/O error has occurred.