StructReaderStreamReadT(Type, LengthProvider, MaxLengthProvider, ElementsProvider) Method

Read.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public T Read<T>(
	Type t,
	LengthProvider lenpvd,
	MaxLengthProvider maxlenpvd,
	ElementsProvider elmpvd
)
where T : class, new()

Parameters

t  Type
Type of what to read.
lenpvd  LengthProvider
Supplies length for fields where it is not given.
maxlenpvd  MaxLengthProvider
Supplies max length for fields where it is not given.
elmpvd  ElementsProvider
Supplies elements for fields where it is not given.

Type Parameters

T
Type of what to read.

Return Value

T
Object read.

See Also