From: Phillip Gawlowski Date: 2010-12-01T07:26:55+09:00 Subject: Re: BitStruct-28bit-Ruby Beginner On Tue, Nov 30, 2010 at 10:58 PM, Jaikanth Krishnaswamy wrote: > Yes I did read the documentation and was trying to see if some > workaround could be used for odd sized field. > This is part of a protocol simulation that the field is 28 bit long. > Unfortunately it cannot be broken down to more sensible chunks as you > suggested. What about padding the 28bit data to 32bit length, with preceding zeros, for example? -- Phillip Gawlowski Though the folk I have met, (Ah, how soon!) they forget When I've moved on to some other place, There may be one or two, When I've played and passed through, Who'll remember my song or my face.