Binary matching
Inswitch Solutions - Erlang Evaluation
erlang@REDACTED
Mon Dec 20 15:39:03 CET 2004
Does someone know why the following binary matching fails?
<<X:7/binary, Rest/binary>> = <<0>>
Is there an elegant way to group an octect binary in seven bits values?
For example eight characters (1 character = 1 byte) in seven octects.
thanks,
Eduardo Figoli
INSwitch Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20041220/d5c3a4b6/attachment.htm>
More information about the erlang-questions
mailing list