@std/bytes standard library MIT engine >= 0.1.0

Binary allocation, endian-aware reading/writing, byte slicing.

import { ByteBuffer } from "@std/bytes";

overview

Reach for @std/bytes when a program talks to the outside world in binary: wire protocols, file headers, or any format where byte order matters. Text stays in String; everything else goes through a ByteBuffer.

capabilities

  • Fixed-size raw buffers
  • Explicit-endian int/float lanes
  • Zero-copy slicing

No API data yet