This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Description
Uint8Array.prototype.setFrom{Base64, Hex} call TypedArrayByteLength, whereas GetUint8ArrayBytes uses TypedArrayLength. This should be made consistent.
I think I'd prefer TypedArrayLength, because TypedArrayByteLength is defined in terms of TypedArrayLength and because calling TypedArrayLength makes it more obvious that detached buffers are disallowed.