<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
4> byte_size(B).<br>
2.125<br>
<br>
On 08/03/2012 04:06 PM, Steve Davis wrote:
<blockquote
cite="mid:19d7d9d8-acdb-4ac3-943e-1944ac8b88e2@googlegroups.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=utf-8">
<div>3> byte_size(B).</div>
<div>3</div>
<div><br>
</div>
<br>
On Friday, August 3, 2012 4:12:02 AM UTC-5, Joe Armstrong wrote:
<blockquote>I think this is a bug:
<br>
<br>
$erl
<br>
1> B = <<1:17>>.
<br>
<<0,0,1:1>>
<br>
2> size(B)
<br>
2
<br>
<br>
<br>
B is not a binary or tuple to size(B) should give badarg
<br>
<br>
/Joe
<br>
______________________________<wbr>_________________
<br>
<br>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
erlang-bugs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-bugs">http://erlang.org/mailman/listinfo/erlang-bugs</a>
</pre>
</blockquote>
<br>
</body>
</html>