[erlang-questions] erl_nif: nif_to_binary and binary_to_nif API calls
Sat Sep 3 09:53:51 CEST 2011
It would be handy to have the same functionality that is provided by erlang:term_to_binary and erlang:binary_to_term available to a NIF author.
erlang:term_to_binary(term()) -> ext_binary()
erlang:binary_to_term(ext_binary()) -> term()
except in C where term() is ERL_NIF_TERM and ext_binary() is ErlNifBinary.
On Sep 3, 2011, at 4:04 PM, Rapsey wrote:
> I'm not sure what you mean. There is:
> What's missing?
> On Sat, Sep 3, 2011 at 7:12 AM, Joseph Norton <norton@REDACTED> wrote:
> For the erl_nif module, are there any plans to add API calls for nif_to_binary and binary_to_nif?
> Joseph Norton
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions