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

Convert array of struct in stream into array of struct in stream.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public static void CopyAll<T1, T2>(
	Type t1,
	Stream instm,
	Type t2,
	Stream outstm,
	UtilTransformerConvert<T1, T2> cvt
)
where T1 : class, new()

Parameters

t1  Type
From type.
instm  Stream
From stream.
t2  Type
To type.
outstm  Stream
To stream.
cvt  UtilTransformerConvertT1, T2
Converter of objects.

Type Parameters

T1
From type.
T2
To type.

Exceptions

RecordExceptionIf problem with record definition.
IOExceptionIf problem with stream.

See Also