Help with bit pattern

Joel Reymont joelr1@REDACTED
Thu Aug 24 17:03:19 CEST 2006


Actually, there's a bug in my padding calculation. And padding in  
bits is what I'm trying to calculate.

On Aug 24, 2006, at 3:54 PM, Joel Reymont wrote:

> Folks,
>
> What's the proper way to say this?
>
> <<NBits1:5, Xmin:NBits/signed, Xmax:NBits/signed, Ymin:NBits/ 
> signed, Ymax:NBits/signed, _:((NBits1 * 4) rem 8), FrameRate:16/ 
> little, FrameCount:16/little, _/binary>> = X.
>
> I'm getting ** 1: illegal bit size **

--
http://wagerlabs.com/








More information about the erlang-questions mailing list