[erlang-questions] Erlang RTMP library
Sun Dec 27 17:15:39 CET 2009
On Sun, Dec 27, 2009 at 1:34 PM, Rapsey <rapsey@REDACTED> wrote:
> Well I don't need a very general purpose solution. I'm not fully clear on
> how you implemented it, I am rather busy at the moment to look into it.
> I have a RTMP process and its implementation (and state) is not visible from
> outside. You send messages to it and receive responses back.
As far as I understand, there are two solutions to buffer incoming binary data:
1) append binary chunks to one big binary
2) accumulate in list and then iolist_to_binary(lists:reverse())
More information about the erlang-questions