containsBytes
Returns true if and only if the provided data byte array contains
the provided bytes byte array at the specified offset.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | | ReadonlyUint8Array | Uint8Array<ArrayBufferLike> | The byte sequence to search for. |
bytes | | ReadonlyUint8Array | Uint8Array<ArrayBufferLike> | The byte array in which to search for data. |
offset | number | The position in bytes where the search begins. |
Returns
boolean