Bytes and blobs
summary
HTML5 now exposes concrete binary tools: blobs, files, FileReader with readAsArrayBuffer, BlobBuilder, URL.createObjectURL and XHR2 responseType=blob, ArrayBuffer plus eight typed arrays and DataView, web workers for transfer, IndexedDB storage and a private FileSystem with async writers. Demos show local image display via blob URL and client‑side audio generation (creates a WAV blob, plays in Chrome), XHR2 uploads with progress, and writable local files behind Chrome flags; typed arrays use native endianness so be careful when sharing bytes.
AI-written summary · about
chapters (20)
- 0:00Intro
- 3:06HTMLS BINARY APIS
- 6:07FILE UPLOAD
- 6:31MANUAL CLIENT-SIDE CACHE
- 6:52LOCAL IMAGE DISPLAY
- 7:39DECODE BINARY DATA
- 8:29IMAGE PROCESSING
- 12:31UPLOADING A FILE OR BLOB
- 15:10DOWNLOADING A BLOB
- 18:45EXAMPLE: LOCAL IMAGES
- 20:46READING A TEXT FILE
- 26:28DATAVIEW
- 27:47CREATING BLOBS
- 28:55AUDIO SYNTHESIS ()
- 30:41AUDIO SYNTHESIS 2
- 32:11AUDIO SYNTHESIS (3)
- 33:31LOCAL (SANDBOXED) FILES
- 38:53BLOB AS MESSAGES
- 41:09BLOBS AND DATABASES
- 43:44SUMMARY








