CompositeDataStream<TObject>.ReadVector Method

Definition

Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0

Overload List

ReadVector<T>(Boolean) Reads the one-dimensional array at the current position in the file.
ReadVector<T>(String, Boolean) Reads the one-dimensional array with the specified name in the file.

ReadVector<T>(Boolean)

Reads the one-dimensional array at the current position in the file.
C#
public override Vector<T> ReadVector<T>(
	bool strict = true
)

Parameters

strict  Boolean  (Optional)
Specifies whether the element type should be matched exactly (true), or whether conversions are allowed (false).

Type Parameters

T
The element type of the vector.

Return Value

Vector<T>
A vector containing the data.

ReadVector<T>(String, Boolean)

Reads the one-dimensional array with the specified name in the file.
C#
public Vector<T> ReadVector<T>(
	string name,
	bool strict = false
)

Parameters

name  String
The name of the matrix to read.
strict  Boolean  (Optional)
Specifies whether the element type should be matched exactly (true, the default), or whether conversions are allowed (false).

Type Parameters

T
The element type of the vector.

Return Value

Vector<T>
A vector containing the data.

See Also