ByteBufferSplit(ByteBuffer, Boolean) Method

Separates source array in locations where occures specified byte sequence

Definition

Namespace: OddPrg
Assembly: OddPrg (in OddPrg.dll) Version: 2.0.0.0 (2.0.0.0)
C#
public ByteBuffer[] Split(
	ByteBuffer separator,
	bool IncludeSeparator
)

Parameters

separator  ByteBuffer
Separator byte sequence
IncludeSeparator  Boolean
If true separator will be the part of resulting buffer, if false separator will not the part of resulting buffer

Return Value

ByteBuffer
Array of ByteBuffer instances with separated portions of source buffer

See Also