mirror of
https://github.com/auxym/bight
synced 2026-01-02 13:54:36 +00:00
No description
|
|
||
|---|---|---|
| docs | ||
| src | ||
| tests | ||
| .gitignore | ||
| bight.nimble | ||
| config.nims | ||
| LICENSE | ||
| README.md | ||
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.