[erlang-questions] Howto copy refc binaries on R13B03

Björn Gustavsson bgustavsson@REDACTED
Mon Oct 24 13:42:53 CEST 2011


On Sat, Oct 22, 2011 at 9:45 PM, Jan Klötzke <jan@REDACTED> wrote:
> Hi,
>
> I'd like to get rid of binary:copy/1 in my application to make it compatible
> to R13B03. Is there a trick to make an explicit copy of reference counted
> binaries without relying on binary:copy/1?
>

iolist_to_binary([Binary]).


-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list