<div><div class="gmail_quote"><div>Thank you Roger!!!</div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's a sub-binary:<br>
<br>
<a href="https://github.com/erlang/otp/blob/master/erts/emulator/beam/erl_bif_binary.c#L1915-L1924" rel="noreferrer" target="_blank">https://github.com/erlang/otp/blob/master/erts/emulator/beam/erl_bif_binary.c#L1915-L1924</a><br>
<br>
On 6 January 2018 at 21:38, Frank Muller <<a href="mailto:frank.muller.erl@gmail.com" target="_blank">frank.muller.erl@gmail.com</a>> wrote:<br>
> Hi Everyone<br>
><br>
> Is the binary returned when calling binary_part/3:<br>
> 1. a sub-binary pointing to the original one<br>
> 2. or a new binary<br>
><br>
> Thank you.<br>
> Frank<br>
><br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
</blockquote></div></div>