Account for non-zero byte offsets in CloneAsUint8Array()
This CL uses ByteSpan() when cloning the array buffer to account for
the byte offset, which matters when the offset is non-zero.
Change-Id: I0117504ed76b4b2eec8d8eab6db244b633308585
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5802789
Commit-Queue: Nidhi Jaju nidhijaju@chromium.org
Reviewed-by: Adam Rice ricea@chromium.org
Cr-Commit-Position: refs/heads/main@{#1345864}