Please, someone could clarify what erl_encode(ETERM *term, uint8_t *buffer) returns?<br><br>Documentation(erl_interface.pdf and man pages) says it returns 0 if succeed or 1 in case of error, but my tests seem to say that it returns the number of bytes written on the buffer. Is this correct? In that case, could someone correct the docs?<br clear="all">
<br>Regards,<br><br>-- <br>Alejandro Vazquez Fente