bitleveld 0.1.0-alpha

Bit-level utilities for D


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

Manual usage
Put the following dependency into your project's dependences section:

bitleveld

Bit-level utilities for D by László Szerémi ([email protected], 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 2020-Oct-10
0.1.0-alpha 2019-Oct-25
~master 2020-Oct-10
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 139 downloads total

Score:
0.6
Short URL:
bitleveld.dub.pm