Tagged articles
binary data
10 articles · Page 1 of 1
The CPU does not identify instructions or data by their binary appearance; instead, the program counter determines which bytes are fetched as instructions, the instruction set defines their encoding, and the executing program decides how to interpret data bytes, while memory permissions constrain execution.
CPUbinary datacomputer architecture
0 likes · 10 min read

This article explains what MessagePack is, compares its size and speed to JSON in Node.js with real benchmarks, shows how to use the msgpackr library, and outlines the scenarios where its smaller binary payloads and native binary support outweigh its slower CPU serialization.
MessagePackNode.jsSerialization
0 likes · 12 min read

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

This article explains WebSocket fundamentals, including its definition, handshake process, data frame structure, binary handling, stream usage, networking details like MTU/MSS, and practical Node.js examples, providing a comprehensive guide for real‑time web communication.
NetworkingWebSocketbinary data
0 likes · 20 min read

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

The article explains APNG’s file structure and decoding process, then demonstrates how to render animated PNGs on the web using both Canvas 2D (with drawImage, clearRect, getImageData, putImageData) and WebGL (via multiple textures and custom disposal/blending handling) for efficient, controllable animation playback.
APNGCanvas 2DJavaScript
0 likes · 12 min read

This article introduces Python’s struct module, explaining how it converts between bytes and other binary data types, detailing its functions, format strings, alignment options, and practical examples of packing, unpacking, and size calculation for efficient binary data handling.
PythonStructbinary data
0 likes · 6 min read

This comprehensive guide explores Node.js Buffer fundamentals, binary data handling, stream integration, memory allocation mechanisms, practical usage scenarios, and performance benchmarks, providing developers with the knowledge to efficiently manage binary streams and boost application speed.
BufferNode.jsbinary data
0 likes · 21 min read

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.
BLOBPDF.jsTypedArray
0 likes · 12 min read

This article provides a comprehensive overview of SQLite, covering its file‑based embedded architecture, type affinity, core components, supported data types, essential API functions, transaction management, and techniques for storing and retrieving binary data in embedded applications.
APIEmbeddedSQLite
0 likes · 12 min read
