[erlang-questions] direct binary to integer conversion

Muharem Hrnjadovic muharem@REDACTED
Sat Dec 31 15:38:23 CET 2011

Hello there!

Is there a way to convert a binary to an integer *directly*? Right now I
am using the following construct:


where B is a binary.

Best regards/Mit freundlichen Grüßen

Muharem Hrnjadovic <muharem@REDACTED>
Public key id : B2BBFCFC
Key fingerprint : A5A3 CC67 2B87 D641 103F 5602 219F 6B60 B2BB FCFC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111231/85fa8b7e/attachment.bin>

More information about the erlang-questions mailing list