1/leecannon/bitjuggle v0.16

Various "bit juggling" helpers and functionality


zig-bitjuggle

CI

This package contains various "bit juggling" helpers and functionality:

  • isBitSet - Check if a bit is set
  • getBit - Get the value of a bit
  • getBits - Get a range of bits
  • setBit - Set a specific bit
  • setBits - Set a range of bits
  • Bitfield - Used along with extern union to represent arbitrary bit fields
  • Bit - Used along with extern union to represent bit fields
  • Boolean - Used along with extern union to represent boolean bit fields

The Bitfield, Bit & Boolean types are taken pretty much verbatim from Florence (see LICENSE-FLORENCE for original license)

How to get

Gyro

gyro add leecannon/bitjuggle

Zigmod

zigmod aq add 1/leecannon/bitjuggle

Git

Submodule

git submodule add https://github.com/leecannon/zig-bitjuggle zig-bitjuggle

Clone

git clone https://github.com/leecannon/zig-bitjuggle

Package Contents

  • bitjuggle.zig
  • gyro.zzz
  • .gitattributes
  • LICENSE-FLORENCE
  • LICENSE
  • .github/workflows/main.yml
  • build.zig
  • README.md
  • zig.mod
  • .gitignore

History

Published On Tree @ Commit Size
v0.25 Wed, 21 Jun 2023 17:05:27 UTC Tree 19.211 KB
v0.24 Sat, 15 Apr 2023 20:17:17 UTC Tree 19.209 KB
v0.23 Sat, 01 Apr 2023 23:48:29 UTC Tree 19.165 KB
v0.22 Sat, 04 Feb 2023 18:59:15 UTC Tree 19.109 KB
v0.21 Sat, 04 Feb 2023 18:58:05 UTC Tree 19.109 KB
v0.20 Tue, 31 Jan 2023 14:55:31 UTC Tree 19.085 KB
v0.19 Sun, 01 Jan 2023 13:52:46 UTC Tree 19.053 KB
v0.18 Thu, 15 Dec 2022 11:47:38 UTC Tree 19.053 KB
v0.17 Thu, 15 Dec 2022 11:45:43 UTC Tree 17.639 KB
v0.16 Sat, 15 Oct 2022 13:33:58 UTC Tree 17.782 KB
v0.15 Sat, 15 Oct 2022 13:33:35 UTC Tree 17.781 KB
v0.14 Sat, 15 Oct 2022 13:27:29 UTC Tree 17.795 KB
v0.13 Sun, 25 Sep 2022 15:10:46 UTC Tree 18.421 KB
v0.12 Sat, 28 May 2022 22:11:43 UTC Tree 18.429 KB
v0.11 Wed, 05 Jan 2022 21:35:29 UTC Tree 17.706 KB
v0.10 Wed, 15 Dec 2021 11:58:09 UTC Tree 17.701 KB
v0.9 Wed, 15 Dec 2021 11:57:50 UTC Tree 17.701 KB
v0.8 Wed, 15 Dec 2021 11:51:46 UTC Tree 17.701 KB
v0.7 Sun, 12 Dec 2021 12:20:56 UTC Tree 17.701 KB
v0.6 Sat, 11 Dec 2021 16:42:35 UTC Tree 17.701 KB
v0.5 Sat, 11 Dec 2021 16:22:38 UTC Tree 17.681 KB
v0.4 Mon, 11 Oct 2021 18:22:10 UTC Tree 16.432 KB
v0.3 Thu, 07 Oct 2021 06:46:02 UTC Tree 16.670 KB
v0.2 Wed, 29 Sep 2021 20:12:20 UTC Tree 16.663 KB
v0.1 Mon, 27 Sep 2021 07:56:30 UTC Tree 16.663 KB