Functions
containsBytes
containsBytes(
data
,bytes
,offset
):boolean
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 | Uint8Array <ArrayBufferLike > | ReadonlyUint8Array | The byte sequence to search for. |
bytes | Uint8Array <ArrayBufferLike > | ReadonlyUint8Array | The byte array in which to search for data . |
offset | number | The position in bytes where the search begins. |
Returns
boolean