/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.dannyguo.com
| | blog.nuculabs.de

Hello ?, In this short article we'll talk about packing integers into binary data in JavaScript using the Buffer, ArrayBuffer and DataView classes. Sometimes in JavaScript, it may be necessary to pack the elements of an array into a byte buffer and then create a new numeric array from the buffer's contents. This can be achieved using the DataView object in JavaScript. First, create an array of elements you want to pack, for example:
19.2 parsecs

Travel
| |
| | ricardo.cc

Stories about code, design, coffee and other good stuff.
18.9 parsecs

Travel
| |
| | gils-blog.tayar.org

JavaScript, Testing, ES Modules, and other ruminations on software development
20.8 parsecs

Travel
| |
| | stuartsierra.com

[AI summary] The author benchmarks various ways to run Clojure in 2019, comparing traditional JVM launchers like Leiningen with faster alternatives such as Babashka, Joker, and GraalVM-compiled native binaries against a basic C program.
36.9 parsecs

Travel
|