type alias Endianness

Endianness type for numeric data encoding and decoding.

This type defines the byte order used when encoding/decoding multi-byte numeric values.

  • "be": Big-endian (network byte order, most significant byte first)
  • "le": Little-endian (least significant byte first)

Definition

"be" | "le"

Usage

import { type Endianness } from "numeric/numeric.ts";