bitleveld 0.1.0-alpha

Bit-level utilities for D


To use this package, run the following command in your project's root directory:

bitleveld

Bit-level utilities for D by László Szerémi (laszloszeremi@outlook.com, https://twitter.com/ziltoid1991, https://www.patreon.com/ShapeshiftingLizard, https://ko-fi.com/D1D45NEN).

Functionalities

  • Nibble (4bit) and Quad (2bit) arrays.
  • Bitplane reader/writer.
  • Safe type-array reinterpretator functions.

Note on pointer casting

The functions of bitleveld.reinterpret are capable of casting pointers and structs that contain paointers. Exploiting this behavior is unsafe and might result in memory leakage issues. A future version will feature an option to test for such things with static asserts.

Authors:
  • Laszlo Szeremi
Dependencies:
none
Versions:
0.1.0-alpha 2019-Oct-25
~master 2019-Oct-25
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 1 downloads total

Score:
0.4
Short URL:
bitleveld.dub.pm