bight

Handle byte orders without a fiasco.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.1.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:26

Authors

  • Francis Thérien

Installation

nimble install bight
choosenim install bight
git clone https://github.com/auxym/bight

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
bight - - - - - - -

Dependencies

Package Version Optional
nim >= 1.6.0 No

Source

Repository https://github.com/auxym/bight
Homepage https://github.com/auxym/bight
Registry Source nimble_official

README

Bight

Bight (noun): A U-shaped part in the middle of a length of rope.

So, the opposite of an end, in a way.

Bight is a Nim library to handle byte ordering, an alternative to std/endians and stew/endians2, based on the C implementation proposed in justine.lol/endian.html.

Simple read/write API with both value and pointer overloads. No swapping, just say which order and size you want.

Generated API docs