mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The native UTF-8 encoder (`TextEncoder`) provides its output as a `Uint8Array` which is a specialized `TypedArray` for storing byte values. To remove the need to copy and transform this data multiple times, a `DataView` is used to allow for low-level access to the data in a variety of bit-widths and endianness. The `DataView` class is natively available and supported by all browsers and Node.js versions support by the framework (https://caniuse.com/mdn-javascript_builtins_dataview). PR Close #48256 |
||
|---|---|---|
| .. | ||
| design | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| compiler.ts | ||
| index.ts | ||
| package.json | ||
| public_api.ts | ||