From: Jaikanth Krishnaswamy Date: 2010-11-23T04:29:26+09:00 Subject: BitStruct-28bit-Ruby Beginner Hi , I am a beginner to Ruby. I am using the ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] and bit-struct (0.13.6) I am trying to construct a 28 bit length data element in my class and am getting the following error./usr/local/ruby/lib/ruby/gems/1.9.1/gems/bit-struct-0.13.6/lib/bit-struct/unsigned-field.rb:244:in `add_accessors_to': unsupported: I read through some limitations in byte alignments of Ruby BitStruct. I am hoping somebody can direct me to an example of how I can achieve a 28 bit field with BitStruct or some other technique.. Please let me know if this is an incorrect post for this forum and redirect me. -- Posted via http://www.ruby-forum.com/.