Tag

Uint8Array

1 views collected around this technical thread.

Taobao Frontend Technology
Taobao Frontend Technology
Nov 6, 2024 · Fundamentals

New JavaScript Proposals Transform Error Handling, RegExp, and Binary Data

Several Stage‑3 TC39 proposals—including Error.isError for reliable error type checks, RegExp.escape for safe regex construction, Uint8Array methods for base64/hex conversion, and Temporal.TimeZone.prototype.equals for canonical time‑zone comparison—aim to enhance JavaScript’s core capabilities across browsers and Node.js.

Base64JavaScriptRegExp
0 likes · 8 min read
New JavaScript Proposals Transform Error Handling, RegExp, and Binary Data
Taobao Frontend Technology
Taobao Frontend Technology
Nov 5, 2024 · Frontend Development

New JavaScript Proposals: Error.isError, RegExp.escape, Uint8Array Base64

These recent ECMAScript proposals—Error.isError for reliable error type checking, RegExp.escape to safely escape user‑provided strings, Uint8Array methods for seamless Base64 and hex conversions, and Temporal.TimeZone.prototype.equals for robust time‑zone comparison—aim to simplify development across browsers and Node.js by addressing long‑standing inconsistencies.

Base64ECMAScript proposalsJavaScript
0 likes · 8 min read
New JavaScript Proposals: Error.isError, RegExp.escape, Uint8Array Base64
Beike Product & Technology
Beike Product & Technology
Dec 13, 2018 · Frontend Development

Understanding Uint8Array, TypedArray, Buffer, and Blob in JavaScript for PDF Rendering and Binary Data Handling

This article explains the evolution and usage of Uint8Array, TypedArray, Buffer, and Blob in JavaScript, demonstrates how to convert between strings, ArrayBuffers, and binary data, and shows practical code examples for rendering PDFs and handling files in both browser and Node environments.

Binary DataBufferJavaScript
0 likes · 12 min read
Understanding Uint8Array, TypedArray, Buffer, and Blob in JavaScript for PDF Rendering and Binary Data Handling