# BurntSushi/byteorder

Rust library for reading/writing numbers in big-endian and little-endian.

Repository: https://github.com/BurntSushi/byteorder
Canonical: https://ross.abutalabs.com/products/byteorder
Language: Rust
License: Unlicense
License Family: permissive
Last push: 2024-09-25T20:46:20+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4229, "days_push": 707, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1093, forks 160 (observed 2026-08-28T04:03:33.767196+00:00)

## What it is
A Rust crate providing convenience methods for encoding and decoding numbers in big-endian or little-endian byte order. It extends the standard Read and Write traits with endian-aware numeric methods and supports no_std environments.

## Use cases
- read and write integers in little-endian or big-endian byte order
- parse binary file formats with specific endianness
- serialize numbers for network protocols
- decode binary data from a byte stream in Rust
- use endian-aware number encoding in a no_std embedded project

## When to choose
- you need endian-aware reading/writing of numbers over io::Read/io::Write streams
- you are working with binary file formats or network protocols in Rust
- you need a lightweight, no_std-compatible serialization helper

## When to avoid
- you only need simple conversions like to_le_bytes/from_le_bytes available in the Rust standard library since 1.32
- you need full struct serialization rather than raw number encoding

## Facets
- artifact type: library
- maturity: stable
- function: serialization
- domain: developer-tools, files
- platform: rust, cross-platform
- tags: byte-order, endian, binary-format, no-std, rust-crate

## Member repositories
- BurntSushi/byteorder (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.767196+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:47:38.828923+00:00, confidence not recorded.
  - readme: https://github.com/BurntSushi/byteorder (fetched 2026-08-28T04:03:33.767196+00:00, sha 2f2d64924c35)
  - registry_crates: https://crates.io/api/v1/crates/byteorder (fetched 2026-08-29T12:50:32.324994+00:00, sha 911453d3b7f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
