length of an iolist

Scott Lystig Fritchie <>
Mon Aug 15 20:29:43 CEST 2005


>>>>> "ms" == Mark Scandariato <> 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