Util2ReadAllT(Type, Byte, LengthProvider, MaxLengthProvider, ElementsProvider) Method

Read array of struct in byte array into List of objects.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public static IList<T> ReadAll<T>(
	Type t,
	byte[] b,
	LengthProvider lenpvd,
	MaxLengthProvider maxlenpvd,
	ElementsProvider elmpvd
)
where T : class, new()

Parameters

t  Type
Type.
b  Byte
Byte array.
lenpvd  LengthProvider
Length provider.
maxlenpvd  MaxLengthProvider
Max length provider.
elmpvd  ElementsProvider
Element provider.

Type Parameters

T
Type.

Return Value

IListT
List of objects.

Exceptions

RecordExceptionIf problem with record definition.

See Also