




























![]() ![]() ![]() ![]() ![]() |
A Sandcastle Documented Class Library |
Util2..::CopyAll<(Of <(<'T1, T2>)>)> Method (Type, array<Byte>[]()[][], Type, Util2..::..TransformerConvert<(Of <(<'T1, T2>)>)>, LengthProvider, MaxLengthProvider, ElementsProvider) |
Convert array of struct in bytes into array of struct in bytes.
Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
Syntax
C# | Visual Basic | Visual C++ |
public static byte[] CopyAll<T1, T2>( Type t1, byte[] b, Type t2, Util2..::..TransformerConvert<T1, T2> cvt, LengthProvider lenpvd, MaxLengthProvider maxlenpvd, ElementsProvider elmpvd ) where T1 : class, new()
Public Shared Function CopyAll(Of T1 As {Class, New}, T2) ( _ t1 As Type, _ b As Byte(), _ t2 As Type, _ cvt As Util2..::..TransformerConvert(Of T1, T2), _ lenpvd As LengthProvider, _ maxlenpvd As MaxLengthProvider, _ elmpvd As ElementsProvider _ ) As Byte()
public: generic<typename T1, typename T2> where T1 : ref class, gcnew() static array<unsigned char>^ CopyAll( Type^ t1, array<unsigned char>^ b, Type^ t2, Util2..::..TransformerConvert<T1, T2>^ cvt, LengthProvider^ lenpvd, MaxLengthProvider^ maxlenpvd, ElementsProvider^ elmpvd )
Parameters
- t1
- Type
From type.
- b
- array<Byte>[]()[][]
From byte array.
- t2
- Type
To type.
- cvt
- Util2..::..TransformerConvert<(Of <(<'T1, T2>)>)>
Converter of objects.
- lenpvd
- LengthProvider
Length provider.
- maxlenpvd
- MaxLengthProvider
Max length provider.
- elmpvd
- ElementsProvider
Element provider.
Type Parameters
- T1
- From type.
- T2
- To type.
Return Value
To byte array.
Exceptions
Exception | Condition |
---|---|
Vajhoej.Record..::..RecordException | If problem with record definition. |