Module: StructPacking

Defined in:
lib/struct_packing.rb,
lib/struct_packing/base.rb,
lib/struct_packing/util.rb,
lib/struct_packing/packable.rb,
lib/struct_packing/unpackable.rb

Overview

StructPacking package make up with Packable and Unpackable module.

Include these module to a class, struct defining method and packing/unpacing methods append to the class and instances.

First, call struct defining method with “C-like sturucture declaration”, and the class and instances can packing or unpacking by these methods.

Defined Under Namespace

Modules: Base, Packable, Unpackable Classes: Util

Constant Summary collapse

VERSION =

Gem version.

'0.0.3'