Help with bit pattern

Joel Reymont joelr1@REDACTED
Thu Aug 24 20:03:33 CEST 2006


On Aug 24, 2006, at 6:47 PM, Bob Ippolito wrote:

> I see you're reading a SWF header... The padding size should be (8 -
> ((5 + NBits1 * 4) rem 8)). I don't think that bit syntax is going to
> work directly anyway because IIRC SWF files store bits in MSB first
> order(!) for variable bit length fields.

Thanks Bob! I resolved it in two steps, calculating the padding size  
first.

--
http://wagerlabs.com/








More information about the erlang-questions mailing list