Traversing a binary

Javier París Fernández <>
Tue Sep 21 15:51:10 CEST 2004


I need to add all the two-byte pairs of a binary to make a checksum.
Using the bit syntax is correct, but too slow. Is there a way to have
some "iterator" over its contents without having to do pattern matching
on the binary(Which is slow) ?


More information about the erlang-questions mailing list