<div>
                <div>my_fun(Len, Bin) ->

                
                        <div>    fun (<<Head:Len/binary, Rest/binary>>) -></div>

                
                        <div>            ...</div>

                
                        <div>        (_) -></div>

                
                        <div>            ...</div>

                
                        <div>    end(Bin).</div>

        
                </div>
        </div>
        <div>

        </div>
        <div></div><br>Le lundi 24 novembre 2014, Imants Cekusins <<a href="mailto:imantc@gmail.com">imantc@gmail.com</a>> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Would this work:</p>
<p dir="ltr">my_fun(<<Bin:8/binary, Rest/binary>>) -> ok;</p>
<p dir="ltr">my_fun(<<Bin:16/binary, Rest/binary>>) -> ok.</p>
<p dir="ltr">?</p>
</blockquote>