endsWith(source: Uint8Array,suffix: Uint8Array,): boolean
Returns true
if the suffix array appears at the end of the source array,
false
otherwise.
The complexity of this function is O(suffix.length)
.
source: Uint8Array
Source array to check.
suffix: Uint8Array
Suffix array to check for.
true
if the suffix array appears at the end of the source array,
false
otherwise.