No description
Find a file
Francis Thérien 35ab85cd01 Move code to src folder
It seems nimlangserver doesn't like the current project structure.
2025-11-15 21:18:35 -05:00
docs Add docs 2023-05-09 17:50:17 -04:00
src Move code to src folder 2025-11-15 21:18:35 -05:00
tests Move code to src folder 2025-11-15 21:18:35 -05:00
.gitignore Add docs 2023-05-09 17:50:17 -04:00
bight.nimble Move code to src folder 2025-11-15 21:18:35 -05:00
config.nims Add unit tests 2023-05-08 20:09:14 -04:00
LICENSE Initial commit 2023-05-01 21:03:26 -04:00
README.md Add docs 2023-05-09 17:50:17 -04:00

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