Help with bit pattern

Joel Reymont joelr1@REDACTED
Thu Aug 24 16:54:59 CEST 2006


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 **

	Thanks, Joel

--
http://wagerlabs.com/








More information about the erlang-questions mailing list