size of the bit stream?

Carsten Schultz <>
Tue Oct 5 01:07:50 CEST 2004


Hi Stephen!

On Mon, Oct 04, 2004 at 03:03:06PM -0700, Stephen Han wrote:
> Is threre any single function that returns the size of the bit
> stream in bytes?
>
> ex>
> 
> f(<< 12, 13, 43, 25 , 24 >>)  -> returns 5

If there was one, what would you call it?  :-)

Eshell V5.3  (abort with ^G)
1> size(<< 12, 13, 43, 25 , 24 >>).
5

Greetings,

Carsten

-- 
Carsten Schultz (2:38, 33:47), FB Mathematik, FU Berlin
http://carsten.codimi.de/
PGP/GPG key on the pgp.net key servers, 
fingerprint on my home page.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20041005/2fea75db/attachment.bin>


More information about the erlang-questions mailing list