Email Factory for .NET

ByteBuffer.Contains Method (Byte[], Boolean)

Checks if data is contained in this buffer.

public bool Contains(
   byte[] data,
   bool matchAll
);

Parameters

data
The data to check for.
matchAll
If true then all data must be found in sequence, if false then only one byte of data must be found.

Return Value

True if data is found, false otherwise.

See Also

ByteBuffer Class | Jscape.Email Namespace | ByteBuffer.Contains Overload List