new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Bun · Runtime · all subjects

binary-data/buffer

1 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Buffer Node.js API

Buffer is a Node.js API for working with binary data that pre-dates the introduction of typed arrays in the JavaScript spec. It has since been re-implemented as a subclass of Uint8Array. It provides a wide range of methods, including several Array-like and DataView-like methods. Example: const buf = Buffer.from("hello world"); // => Buffer(11) [ 104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100 ]; buf.length; // => 11; buf[0]; // => 104, ascii for 'h'; buf.writeUInt8(72, 0); // => ascii for 'H'; console.log(buf.toString()); // => Hello world.

Give your agent this brain