Allows the specification of bit-based structures and provides an intuitive way of access data. Example: class Flags < StructBase unsigned :direction, 4 unsigned :multiplier, 2 unsigned :offset, 2 end class Entry < StructBase unsigned :offset, 4 nested :flags, Flags unsigned :address, 24 unsigned :cache_id, 16 end In contrast to the already available http://raa.ruby-lang.org/project/bit-struct/ implementation, BitStructEx allows nested structures which are not aligned on byte boundaries.

Required Ruby Version

> 0.0.0

Authors

The.French.DJ

Versions

  1. 0.0.91
    1. source

      1. 0.0.91 source June 03, 2006 (6.5 KB)
  2. 0.0.86
    1. source

      1. 0.0.86 source May 17, 2006 (7 KB)
  3. 0.0.85
    1. source

      1. 0.0.85 source May 17, 2006 (7 KB)
  4. 0.0.74
    1. source

      1. 0.0.74 source May 05, 2006 (6.5 KB)
  5. 0.0.65
    1. source

      1. 0.0.65 source April 12, 2006 (6.5 KB)
Show all versions (7 total)

SHA 256 checksum