CombineArrays Method (Byte[], Int32, Int32, Byte[], Int32, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Combines ranges of data from two arrays of bytes into one array.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public Shared Function CombineArrays ( _
src1 As Byte(), _
offset1 As Integer, _
count1 As Integer, _
src2 As Byte(), _
offset2 As Integer, _
count2 As Integer _
) As Byte()
public static byte[] CombineArrays(
byte[] src1,
int offset1,
int count1,
byte[] src2,
int offset2,
int count2
)
public:
static array<unsigned char>^ CombineArrays(
array<unsigned char>^ src1,
int offset1,
int count1,
array<unsigned char>^ src2,
int offset2,
int count2
)
static member CombineArrays :
src1:byte[] *
offset1:int *
count1:int *
src2:byte[] *
offset2:int *
count2:int -> byte[]
public static function CombineArrays(
src1 : byte[],
offset1 : int,
count1 : int,
src2 : byte[],
offset2 : int,
count2 : int
) : byte[]
Parameters
- src1
Type: array<System. . :: . .Byte> [] () [] []
The first array whose data you want to combine with data from another array.
- offset1
Type: System. . :: . .Int32
The offset from the beginning of the first array to the target data.
- count1
Type: System. . :: . .Int32
The amount of data you want to extract from the first array, in bytes.
- src2
Type: array<System. . :: . .Byte> [] () [] []
The second array whose data you want to combine with data from another array.
- offset2
Type: System. . :: . .Int32
The offset from the beginning of the second array to the target data.
- count2
Type: System. . :: . .Int32
The amount of data you want to extract from the second array, in bytes.
Return Value
Type: array<System. . :: . .Byte> [] () [] []
A new array of bytes that contains the specified ranges of data from two specified arrays.
Remarks
This method combines data from two arrays by inserting the specified data from the second array after the specified data from the first array.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.