UtilCopyAllT1, T2(Type, Byte, Type, UtilTransformerConvertT1, T2) Method

Convert array of struct in bytes into array of struct in bytes.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public static byte[] CopyAll<T1, T2>(
	Type t1,
	byte[] b,
	Type t2,
	UtilTransformerConvert<T1, T2> cvt
)
where T1 : class, new()

Parameters

t1  Type
From type.
b  Byte
From byte array.
t2  Type
To type.
cvt  UtilTransformerConvertT1, T2
Converter of objects.

Type Parameters

T1
From type.
T2
To type.

Return Value

Byte
To byte array.

Exceptions

RecordExceptionIf problem with record definition.

See Also