length of an iolist
Mark Scandariato
mfs@REDACTED
Mon Aug 15 21:22:33 CEST 2005
I originally had one, but I took it out since "iolist" is supposed to be a list.
Mark.
-----Original Message-----
From: Scott Lystig Fritchie <fritchie@REDACTED>
Sent: Aug 15, 2005 2:29 PM
To: Mark Scandariato <mfs@REDACTED>
Cc: erlang-questions@REDACTED
Subject: Re: length of an iolist
>>>>> "ms" == Mark Scandariato <mfs@REDACTED> writes:
ms> Here are two versions of iolist_size I put together - an erlang
ms> version and a bif.
I believe you need a clause to handle the case where your "io list" is
actually a single binary. Easy enough to add.
-Scott
---
Scott Lystig Fritchie
Professional Governing: Is It Faked?
More information about the erlang-questions
mailing list