[erlang-questions] binary_part/3

Roger Lipscombe roger@REDACTED
Sun Jan 7 17:00:53 CET 2018


It's a sub-binary:

https://github.com/erlang/otp/blob/master/erts/emulator/beam/erl_bif_binary.c#L1915-L1924

On 6 January 2018 at 21:38, Frank Muller <frank.muller.erl@REDACTED> wrote:
> Hi Everyone
>
> Is the binary returned when calling binary_part/3:
> 1.  a sub-binary pointing to the original one
> 2. or a new binary
>
> Thank you.
> Frank
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list