Hunny Software Library Reference

ByteString.Join Method (ByteString, ByteString[], Int32, Int32)

Concatenates ByteString instances.

[Visual Basic]
Overloads Public Shared Function Join( _
   ByVal separator As ByteString, _
   ByVal value As ByteString(), _
   ByVal startIndex As Integer, _
   ByVal count As Integer _
) As ByteString
[C#]
public static ByteString Join(
   ByteString separator,
   ByteString[] value,
   int startIndex,
   int count
);

Parameters

separator
ByteString instance to use as separator
value
array of ByteString instances to join
startIndex
position of the first array element in value to use
count
number of elements in value to use

Return Value

new ByteString instance

Remarks

Use ByteString.Empty as the value for separator to concatenate byte strings with an empty separator string.

Exceptions

Exception TypeCondition
ArgumentNullExceptionseparator is null or value is null

See Also

ByteString Class | Hunny.Base Namespace | ByteString.Join Overload List