ReadAll Generic Method

Vajhoej Record

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
Read array of struct in byte array into List of objects.

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public static IList<T> ReadAll<T>(
	Type t,
	byte[] b
)
where T : class, new()
Public Shared Function ReadAll(Of T As {Class, New}) ( _
	t As Type, _
	b As Byte() _
) As IList(Of T)
public:
generic<typename T>
where T : ref class, gcnew()
static IList<T>^ ReadAll(
	Type^ t, 
	array<unsigned char>^ b
)

Parameters

t
Type
Type.
b
array<Byte>[]()[][]
Byte array.

Type Parameters

T
Type.

Return Value

List of objects.

Exceptions

ExceptionCondition
Vajhoej.Record..::..RecordExceptionIf problem with record definition.

See Also