Some ei questions
Alexey Romanov
alexey.v.romanov@REDACTED
Fri Nov 19 12:26:39 CET 2010
And also, while I am at it: why is there mismatch between arguments of
ei_get_type (int *size) and ei_decode_binary (long *len), given that
documentation states "The size required can be fetched by
ei_get_type()"? How can the size of a binary be obtained in case it
doesn't fit into int?
Yours, Alexey Romanov
On Fri, Nov 19, 2010 at 12:25 PM, Alexey Romanov
<alexey.v.romanov@REDACTED> wrote:
> 1. ei.h says about ERL_SMALL_INTEGER_EXT etc. "Defines used for
> ei_get_type_internal() output; we don't want to export these". Are
> they likely to go away in next release or two? Should some other
> #defines be used for output of `ei_get_type()` (not
> `ei_get_type_internal()`)?
>
> 2. ERL_SMALL_INTEGER_EXT should be decoded with ei_decode_long() and
> ERL_INTEGER_EXT with ei_decode_longlong()? Or something different?
>
> Yours, Alexey Romanov
>
More information about the erlang-questions
mailing list