DataStream Class

Serves as the abstract base class for classes that represent data files.

Definition

Namespace: Numerics.NET.Data
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
C#
public abstract class DataStream : IDisposable
Inheritance
Object  →  DataStream
Derived
Implements
IDisposable

Constructors

DataStreamInitializes a new instance of the DataStream class

Properties

CanRead Gets whether the file can be read from.
CanWrite Gets whether the file can be written to.

Methods

Dispose() Releases unmanaged resources.
Dispose(Boolean) Releases resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Flush Causes any buffered data to be written to the underlying data store.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OpenUri Returns a stream suitable from reading from a resource specified by a URI.
ReadDataFrame() Reads the data frame at the current position in the file.
ReadDataFrame<R>(Int32, Boolean) Reads a data frame from the file.
ReadDataFrame<R>(String, Boolean) Reads a data frame from the file.
ReadDataFrame<R, C>() Reads the data frame at the current position in the file.
ReadDataFrame<R, C>(C, Boolean) Reads a data frame from the file.
ReadDataFrame<R, C>(Int32, Boolean) Reads a data frame from the file.
ReadMatrix<T> Reads the two-dimensional array at the current position in the file.
ReadVector<T> Reads the one-dimensional array at the current position in the file.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Write<T>(Matrix<T>) Writes the two-dimensional array at the current position in the file.
Write<T>(Vector<T>) Writes the one-dimensional array at the current position in the file.
Write<R, C>(DataFrame<R, C>) Writes the data frame at the current position in the file.

See Also