Tagged articles
5 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 5, 2024 · Frontend Development

Understanding Blob, File, Base64, URL.createObjectURL, ArrayBuffer, TypedArray, and DataView in Frontend Development

This article provides a comprehensive guide to the Blob and File objects, their methods such as slice, text, arrayBuffer, and stream, explains Base64 encoding, demonstrates how to use URL.createObjectURL for previews, and introduces ArrayBuffer, TypedArray, and DataView for low‑level binary data handling in web development.

ArrayBufferBase64Blob
0 likes · 23 min read
Understanding Blob, File, Base64, URL.createObjectURL, ArrayBuffer, TypedArray, and DataView in Frontend Development
Code Mala Tang
Code Mala Tang
Jul 1, 2024 · Frontend Development

Mastering JavaScript Binary Data: ArrayBuffer, TypedArray & DataView Explained

This guide introduces JavaScript’s low‑level binary data tools—ArrayBuffer, TypedArrays, and DataView—explaining their concepts, creation methods, key properties, and performance considerations, and demonstrates practical applications such as image processing, audio analysis, and WebSocket binary protocols.

ArrayBufferDataviewTypedArray
0 likes · 11 min read
Mastering JavaScript Binary Data: ArrayBuffer, TypedArray & DataView Explained
Youzan Coder
Youzan Coder
May 7, 2021 · Frontend Development

Understanding ArrayBuffer, TypedArray, DataView, and Blob in JavaScript

The article explains how JavaScript handles binary data by using ArrayBuffer as raw memory, TypedArray and DataView as typed views for reading and writing with endianness control, and Blob for file‑like binary objects, detailing their constructors, methods, and typical use cases such as WebGL, file upload, and image display.

ArrayBufferBlobDataview
0 likes · 17 min read
Understanding ArrayBuffer, TypedArray, DataView, and Blob in JavaScript