DotMSN

NetworkMessage.AppendArray Method 

Helper method. Appends one array to the other. The second parameter, appendingArray, can be null. In that case the original byte array is returned and no copy is made.

[Visual Basic]
Public Function AppendArray( _
   ByVal originalArray As Byte(), _
   ByVal appendingArray As Byte() _
) As Byte()
[C#]
public byte[] AppendArray(
   byte[] originalArray,
   byte[] appendingArray
);

Parameters

originalArray
The array to append to
appendingArray
The array which will be appended

Return Value

A new created byte array with the two arrays merged together. Or the original array if the appendingArray was null.

See Also

NetworkMessage Class | XihSolutions.DotMSN.Core Namespace