Module: RbStruct
- Defined in:
- lib/rbstruct/rbstruct.rb
Defined Under Namespace
Classes: StructBase
Constant Summary collapse
- TYPES =
{ :float => {:size => 4, :str => 'f'}, :int => {:size => 4, :str => 'i'}, :short => {:size => 2, :str => 's'}, :char => {:size => 1, :str => 'c'}, :unsigned_char => {:size => 1, :str => "C"}, :unsigned_short => {:size => 2, :str => "S"}, :unsigned_int => {:size => 4, :str => "I"}, :unsigned_long => {:size => 8, :str => "L_"} }